This week's book giveaway is in the Cloud/Virtualizaton forum.
We're giving away four copies of Mesos in Action and have Roger Ignazio on-line!
See this thread for details.
Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Help - new to Java and can't get my compiler to work

 
Brian Pelowski
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Help - new to Java and can't get my compiler to work - set my path to program files\java\jre6\bin and typed % javac - but nothing - don't know much - but that is what head first Java seemed to say to do?
 
Al Fraelich
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
program files\java\jre6\bin


The JRE doesn't have the files you need. You need to point your path to the \bin of the "JDK".
probably something like this.. " C:\Program Files\Java\jdk1.6.0_21\bin "
If you haven't installed it, you can get it from sun, if you have, just change your path to that bin and you should be good.

Let us know if that doesn't work.

Al
 
Brian Pelowski
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hmmm - I installed the jdk and jre - but I do not have a directory with jdk??
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I installed the jdk and jre - but I do not have a directory with jdk??

Where exactly did you install it ? Please give the full path.
 
Brian Pelowski
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Forget it found it!! Thanks!!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic