Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java, Netbeans work fine but no javac

 
drew taylor
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's most likely because your PATH isn't updated. See step 4 of these installation instructions (for Windows).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic