I'm not able to create the new path, I put in the variable path and value c: program files/java/jdk1.80_101 which is what this file is named and it still doesn't work on the command prompt, everytime I put in Javac I get Javac is not recognizable as an internal or external command, operable program or botch file. please help | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

I'm not able to create the new path, I put in the variable path and value c: program files/java/jdk1.80_101 which is what this file is named and it still doesn't work on the command prompt, everytime I put in Javac I get Javac is not recognizable as an internal or external command, operable program or botch file. please help

creating a path that works on command prompt

27th Aug 2016, 8:10 PM
Derek Gibson
Derek Gibson - avatar
4 Answers
+ 1
You are setting up the path all wrong. You have to choose the bin folder inside the jdk folder. E.g:- C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Java\jdk1.7.0\bin More details: docs.oracle.com/javase/7/docs/webnotes/install/windows/jdk-installation-windows.html
28th Aug 2016, 2:00 AM
Suwadith
Suwadith - avatar
+ 1
c:\java\jdk1.7.0\bin save this path and try to compile and run
28th Aug 2016, 2:54 AM
Mohd Saqlain
Mohd Saqlain - avatar
0
got it to save to .class thanks
28th Aug 2016, 4:06 AM
Derek Gibson
Derek Gibson - avatar
0
Just use netbeans its more easy just hit instal
28th Aug 2016, 9:09 AM
X_jumper_X
X_jumper_X - avatar