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

Setting PATH environment variable (HELP!)

 
Cody Burns
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Argh! So I'm using "Head first Java - 2nd Edition" to set up Java on my Windows Vista machine for my next programming course and the instructions on doing so are way to vague.

All it tells me to do is to:
"add an entry to your PATH environment variable that points to the /bin directory inside the main Java directory."
"That bin directory is the one you need a PATH to so that when you type
% javac at the command-line, your terminal will know how to find the javac compiler."

I have not the slightest idea on how to correctly set this up so that it will work correctly. I looked through the documentation for the SDK and what I did find did not work at all. Thanks for the help!
 
Cody Burns
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Nevermind figured it out, feel free to delete the thread please
 
Terry Yoder
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Cody,
I've got the same book and same problem. Would you be kind enough to share how you took care of this?
 
marc weber
Sheriff
Posts: 11343
Java Mac Safari
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Terry, welcome to JavaRanch!

To set the PATH, see step 4 of Sun's installation instructions for Windows. Let us know how this works for you.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic