Skip to Main Content

New to Java

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

javac file not found, is that file missing in java 1.4?

843789Sep 25 2009 — edited Sep 29 2009
Hi Friends,
Please try to help.
While trying to compile a java file, i am getting the following error.
C:\>javac HelloWorld.java
'javac' is not recognized as an internal or external command,
operable program or batch file.
Later i tried the absolute path, still the same error...
C:\Program Files\Java\j2re1.4.0\bin>javac HelloWorld.java
'javac' is not recognized as an internal or external command,
operable program or batch file.
When i check the folder where java is installed "C:\Program Files\Java\j2re1.4.0\bin" I am not able to find a file called javac but i can find files like java.exe, javaw.exe etc.
Please let me know how can i compile.


Thanks and Regards
JG
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 27 2009
Added on Sep 25 2009
12 comments
1,916 views