I'm showing this message in cmd 'javac' is not recognized as an internal or external command operable program or batch file. What should I do? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

I'm showing this message in cmd 'javac' is not recognized as an internal or external command operable program or batch file. What should I do?

bug regarding the jdk installation

10th Jul 2016, 12:53 PM
pratusha panyala
pratusha panyala - avatar
11 Answers
+ 1
Seems you have not properly set the environment variable for java. Recheck the path defined for jdk.
10th Jul 2016, 2:13 PM
Mohit Gupta
Mohit Gupta - avatar
+ 1
Again, just recheck once. you can google too, there you will find step by step solution to resolve it.
10th Jul 2016, 2:18 PM
Mohit Gupta
Mohit Gupta - avatar
+ 1
delete the prevoiusly set bin path restart and set it once again and again restart will fix..
11th Jul 2016, 11:54 AM
Arijit
Arijit - avatar
0
type cd / then cd name of the folder in c drive then type javac nameoffile.java
10th Jul 2016, 1:56 PM
Nandan shukla
Nandan shukla - avatar
0
I have set the path exactly as taught in this tutorial.
10th Jul 2016, 2:16 PM
pratusha panyala
pratusha panyala - avatar
0
did you see the tutorial video?
10th Jul 2016, 4:10 PM
Nandan shukla
Nandan shukla - avatar
0
hey man,you are kinda noob,set the path first in control panel & locate the jdk address dude in environmental variables. i have the same problem unless i install netbeans.
10th Jul 2016, 5:57 PM
Aarsh Roy
Aarsh Roy - avatar
0
you have not set path correctly. google how to set path
10th Jul 2016, 6:05 PM
sourabh mittal
sourabh mittal - avatar
0
please set the path properly
11th Jul 2016, 10:23 AM
Sarabjeet Singh
Sarabjeet Singh - avatar
0
just reset your environment variable [path]
12th Jul 2016, 3:25 PM
Hirandas
0
I had the same problem at first and realized I had forgotten to include \bin at the end of the path. Check that out and hope that solves the issue!
21st Jul 2016, 8:38 AM
Joe Ashlar
Joe Ashlar - avatar