• Post Reply Bookmark Topic Watch Topic
  • New Topic

Setting PATH environment variable  RSS feed

 
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
  • Likes 1
  • 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.
 
Leiserl Mari
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check this video for setting java path in Windows 10:

https://www.youtube.com/watch?v=l1VxWWubxFo
 
Campbell Ritchie
Sheriff
Posts: 54495
150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Welcome to the Ranch

I am afraid that is a poor tutorial; there are two errors in the PATH setting and it is difficult to watch in silence,
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!