File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Beginning Java and the fly likes Java 1.6.0 compiler Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java 1.6.0 compiler" Watch "Java 1.6.0 compiler" New topic

Java 1.6.0 compiler

Dario Stepanos

Joined: May 21, 2006
Posts: 14

I've just installed the latest version of J2SE 1.6.0 from the Java site, and it works well except that when I enter javac in the Command prompt, nothing shows up. When I enter simply javac, you would normally see all the options of the compiler but I get a message that

'javac' is not recognized as an internal or external command,
operable program or batch file.

which means it doesn't run it. Would you know how to get to run it?

Thanks Ranchers!

Keith Lynn
Ranch Hand

Joined: Feb 07, 2005
Posts: 2398
You need to add the bin directory to your PATH.
I agree. Here's the link:
subject: Java 1.6.0 compiler
jQuery in Action, 3rd edition