error message: 'javac' is not recognized as an internal or external command
807600Jul 14 2007 — edited Nov 28 2007Hi All,
I have recently decided to begin learning java in preaparation for a new job. Unfortunately... I keep receiving the error message:
'javac' is not recognized as an internal or external command, operable program, or batch file
From what I have learnt... I realise that the javac file cannot be located and it is for this reason the class file cannot be created. However both my class path and my path have been set correctly. My path file has the direct link to the directory where the javac.exe file is located. I have tried:
C:\Program Files\Java\jdk1.6.0_02\bin
C:\Program Files\Java\jdk1.6.0_02\bin\javac
C:\Program Files\Java\jdk1.6.0_02\bin\javac.exe
I have even went as far as trying with a semi colon at the end and without as well as opening a fresh command window upon each attempt. In addition to this, I specifically directed the directory within my command window as instructed by the Sun java documentation, for example:
C:\jdk6\bin\javac HelloWorldApp.java
This also did not work.
Any help would be greatly appreciated, this is my first post and my start date is looming closer and closer.
Jimbo.