aspose file tools
The moose likes Beginning Java and the fly likes Java, Netbeans work fine but no javac Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Java, Netbeans work fine but no javac" Watch "Java, Netbeans work fine but no javac" New topic
Author

Java, Netbeans work fine but no javac

drew taylor
Greenhorn

Joined: Feb 20, 2006
Posts: 21
Java and Netbeans work ok, but when I try and compile java files in the command prompt it says javac isn't a program! Why is this?
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

It's most likely because your PATH isn't updated. See step 4 of these installation instructions (for Windows).


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
 
jQuery in Action, 2nd edition
 
subject: Java, Netbeans work fine but no javac