• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

No javac in C:\Program Files\Java\jre1.5.0_04\bin

 
Patrick Thomas
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I just bought this laptop and java was already loaded.
After setting my path to include the bin directory I tried to compile
a pgm and received 'JAVAC is not recognized as an internal or external command,.

Next I open the bin directory to check for JAVAC and it dosent exist.
What should I do?

Thanks, Patrick
 
Ken Blair
Ranch Hand
Posts: 1078
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your laptop included the JRE not the JDK. You should go to http://java.sun.com and download the JDK which includes developer tools like the compiler.
 
Patrick Thomas
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Will do, thanks Ken.

P
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
...and be sure to follow the installation instructions -- especially the step about setting the PATH variable.

(Welcome to JavaRanch, by the way!)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic