File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
Author

Java 1.6.0 compiler

Jeremie Blais
Greenhorn

Joined: May 21, 2006
Posts: 14
Hi,

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 Test.java 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!

J�r�mie
Keith Lynn
Ranch Hand

Joined: Feb 07, 2005
Posts: 2367
You need to add the bin directory to your PATH.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Java 1.6.0 compiler
 
Similar Threads
Command Prompt error- Can't run through compiler
ant 1.6.0 bin distribution not working
how to set classpath
ERROR in PlasmaCloud.java double displacement = StdRandom.gaussian(0, stddev);
Running Java Programs from the command prompt