javac is not recognized as an internal or external command
If you get the errorĀ javac is not recognized as an internal or external command, here’s the fix.

1. Enter SystemPropertiesAdvanced.exe into the search bar:

2. Click on the button Environment Variables…

3. The fieldset System variables has an item called Path, double-click on it.

4. Go to the very beginning of the line and add the path to your javac file e.g.
C:\Program Files\Java\jdk1.6.0_18\bin;
Add the ; to separate the path from the other system paths.
5. Keep in mind you need to replace that path with your own path (simply check C:\Program Files\Java). There is a newer version of the JDK available by now. The javac file should still be in the bin folder nonetheless
After adding the path to the javac file the error ‘javac is not recognized as an internal or external command’ should no longer appear. If you still get the error, first try a reboot.
Setting PATH via CMD
If it doesn’t work, enter this into a command prompt and try again
set PATH=C:\Program Files\Java\jdk1.6.0_18\bin;%PATH%
This will add the path to your current %PATH% variable (basically the same as above).
If you still get the message javac is not recognized as an internal or external command then post a comment below.
Or you might like these sexy wallpaper, tweaks and themes:








