0
Can you run javac ExampleProgram.java, If ExampleProgram.java is on a different drive
I run E:\User\Documents\JavaCode>javac HelloWorld.java and I get this: 'javac' is not recognized as an internal or external command, operable program or batch file.
2 Respostas
+ 1
Yes if you have added you Java JDK to the system environment variables path then you should able to run ExamplePrograme.java with CMD if the file can be reached.
0
Just follow this tutorial:
https://docs.oracle.com/javase/tutorial/essential/environment/paths.html