0

Command Prompt does not show the information in your instructions.

I installed java and it shows installed, but when I go to the command prompt and type javac, it reads 'javac' is not recognized as an internal or external command, operable program or batch file.

4th Oct 2016, 1:17 PM
Kathy
2 Answers
0
Because the CLASSPATH has not been set. CLASSPATH is a system variable that is used to tell the program which is written in Java (including the tools included in the JDK) the location where the classes to be used. By setting the value of the CLASSPATH variable, then we can do the compilation and execution of the program that we created in any directory. See how to set CLASSPATH in http://javabasictoadvanced.blogspot.co.id/2016/01/installing-java.html
4th Oct 2016, 1:30 PM
Aula Muttaqin
Aula Muttaqin - avatar
0
Thanks. I left the bin off the end of the path.
4th Oct 2016, 2:04 PM
Kathy