Javac is not recognized!!!

Solved
batigool15 Posted messages 398 Status Member -  
 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?
Configuration: Windows XP Firefox 2.0.0.8

11 answers

  1. Doom_aok Posted messages 46 Status Member 67
     
    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
    53
    1. Nfally
       
      Thank you so much, I don’t know to what extent your advice has been helpful to me.
      0
    2. Un Gros Merci!!
       
      +1 I had the same issue with the "rmic" command (compiling RMI in JAVA) and it worked
      THANK YOU!!!
      0