How to troubleshoot this Java installation problem? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

How to troubleshoot this Java installation problem?

I created PATH in environment variable but after opening command prompt and typing javac, I get error message"Javac is not recognized as an internal or external command."

1st Mar 2017, 2:21 PM
Parth Bhore
Parth Bhore - avatar
2 Answers
+ 8
1. Please make sure you installed the jdk, not only jre 2. Make sure your path variable points to the \bin folder of your jdk installation 3. Restart console after installation
1st Mar 2017, 3:36 PM
Tashi N
Tashi N - avatar
0
Check absolute path to javac containing folder (like C:\Program Files (x86)\Java\jdk1.8.0_99\bin) Then look at the value of PATH. Does it contain the path to javac?
1st Mar 2017, 3:43 PM
Twelfty
Twelfty - avatar