11-04-2008 05:31 PM
when I try to compile any project in the 4.3, 4.5 or 4.6 JDK, it gives me this error:
I/O Error: Cannot run program "javac": CreateProcess error=2,
What do I do?
Solved! Go to Solution.
11-04-2008 08:15 PM
11-05-2008 03:16 AM
Thanks you two for helping me.
It does not find the 'javac'.
Now how do I add the bin-directory of the JDK to the system environment?
11-05-2008 08:45 AM
The path to your Java compiler probably looks something like this:
...your mileage may vary. You'll need to locate the JDK or you'll need to install it if it is not there.
To modify your Windows PATH variable:
Control Panel / System / Advanced / Environment Variables
In the "System Variables" section, locate "PATH", and press "EDIT". You want to have already copied the path info into the clipboard so that you can go to the end of the path and paste it in. Don't forget to place a semicolon between the last path defined and your new info. Be carefull not to overwrite stuff already defined in the path.