• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Java 1.6.0 compiler

 
Dario Stepanos
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 2409
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You need to add the bin directory to your PATH.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic