Javac is not recognized!!!
Solved
batigool15
Posted messages
398
Status
Membre
-
Taher -
Taher -
Hello,
I tried to compile my program but it tells me that javac is not recognized as an internal command.
Can someone help me please?
I tried to compile my program but it tells me that javac is not recognized as an internal command.
Can someone help me please?
Configuration: Windows XP Firefox 2.0.0.8
11 réponses
Hi,
here's what you need to do: go to where Java is installed on your computer; for example, I have this path: C:\Program Files\Java
then go to the jdk followed by --> bin
and copy the path, for example C:\Program Files\Java\jdk1.6.0\bin if you have the same path as me
then go to My Computer, right-click --> Properties --> Advanced, at the bottom click on "Environment Variables"
in the second list find "path", select it and click on edit, then go to the end of the line and put a ";" semicolon and paste the path you copied before "C:\Program Files\Java\jdk1.6.0\bin" and click OK --> OK
and there you go, now it should recognize javac
here's what you need to do: go to where Java is installed on your computer; for example, I have this path: C:\Program Files\Java
then go to the jdk followed by --> bin
and copy the path, for example C:\Program Files\Java\jdk1.6.0\bin if you have the same path as me
then go to My Computer, right-click --> Properties --> Advanced, at the bottom click on "Environment Variables"
in the second list find "path", select it and click on edit, then go to the end of the line and put a ";" semicolon and paste the path you copied before "C:\Program Files\Java\jdk1.6.0\bin" and click OK --> OK
and there you go, now it should recognize javac
THANK YOU!!!