Originally Posted by Programmer142
Perhaps.. There are several things that can cause this. Can you run the program from the command line at all? Can you run the java command? The batch script is just a shortcut so, like regular shortcuts it will not work if it can't find what is pointing to.
Try this at the command prompt:
If it says that it cannot find javac then you need to configure your PATH environmental variable to include the SDK's bin directory.
Actually, I just remembered I wrote a batch script many many years ago to check out if your system is configured correctly. Miracle I still have it. This should make things easier:
echo You path is:
echo Your JRE is:
echo Your Java compiler version is:
echo Your ant version is:
echo Your GIT version is:
set /P theuserinput="Press [ENTER] to finish"
At the least, you need java
Oh, and you can add that last line to the end of your run.bat
script and it will give you a chance to see the error message you are getting.
Let us know how you get on.