Setting PATH Environment Variable | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Setting PATH Environment Variable

I have jdk1.8.0_101 downloaded and installed, however despite all attempts to add C:\Program Files\Java\jdk1.8.0_101\bin\ to the 'path' system variable, javac will not work in cmd. I have also tried javac while navigated to the bin folder, but that still gives me the not recognised error. How can I fix this?

23rd Sep 2016, 10:44 AM
oodwin
oodwin - avatar
6 Answers
0
Try to reinstall Java with the guide in http://javabasictoadvanced.blogspot.co.id/2016/01/installing-java.html and please update the result
23rd Sep 2016, 10:53 AM
Aula Muttaqin
Aula Muttaqin - avatar
0
This is the precise guide I followed, but no no avail. javac still doesn't work in any directory.
23rd Sep 2016, 10:56 AM
oodwin
oodwin - avatar
0
Add it to your user's env variables
22nd Aug 2017, 11:17 AM
ChickenNugget 360
ChickenNugget 360 - avatar
0
Nice revive lmao
22nd Aug 2017, 12:25 PM
oodwin
oodwin - avatar
0
I fixed it ages ago.
22nd Aug 2017, 12:25 PM
oodwin
oodwin - avatar
0
ohh :(
22nd Aug 2017, 8:20 PM
ChickenNugget 360
ChickenNugget 360 - avatar