+ 3

I'm trying to use javac with the windows command prompt, but it doesn't work.

After adding the directory "C:\Program Files\Java\jdk1.8.0_25\bin\" to the end of the environment path variable, the java command works fine, but using javac gives me the error: 'javac' is not recognized as a internal or external command

30th May 2017, 8:27 AM
Raphael Williams
Raphael Williams - avatar
2 odpowiedzi
+ 4
i uninstalled jdk and then reinstalled it, you were right it was jdk 1.8.0_131, then i change the path variable to "C:\Program Files\Java\jdk1.8.0_131\bin" and it is working now, thanx man much appreciated
1st Jun 2017, 12:10 PM
Raphael Williams
Raphael Williams - avatar