0

javac is not recognized by cmd

So i followed the direction to the letter and added the path file with the directory C:\Program Files\Java\jdk1.8.0_111 but javac won't work

16th Jan 2017, 9:27 PM
Cole McCoy
Cole McCoy - avatar
3 Réponses
+ 2
The answer is that the JAVA PATH is not set in the system environmental variables. Once you do that your system will recognize the command javac and you won't need to type the whole path every time.
16th Jan 2017, 10:43 PM
seamiki
seamiki - avatar
+ 1
Try adding C:\Program Files\Java\jdk1.8.0_111\bin to the path instead.
16th Jan 2017, 9:37 PM
DaemonThread
DaemonThread - avatar
0
thank you!
16th Jan 2017, 9:41 PM
Cole McCoy
Cole McCoy - avatar