• Post Reply Bookmark Topic Watch Topic
  • New Topic

setting up the path environment variable  RSS feed

 
Mike Fitch
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I purchased a book on learning java and it says I need to 'add an entry to my path environment variable that points to the /bin directory inside the main java directory'. I don't know what that means or how to do it. Can someone help please?
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It's odd that the book wouldn't cover that, it's a common problem. If you're on Windows, you may want to work through http://docs.oracle.com/javase/tutorial/getStarted/cupojava/win32.html (which is likely similar to what your book tries to make you do), and then especially http://docs.oracle.com/javase/tutorial/getStarted/problems/index.html and http://docs.oracle.com/javase/7/docs/webnotes/install/windows/jdk-installation-windows.html#path.

For any Unix-type machine (including OS X and Linux), the first step would be http://docs.oracle.com/javase/tutorial/getStarted/cupojava/unix.html.
 
Ulf Dittmer
Rancher
Posts: 42972
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
https://www.coderanch.com/how-to/java/how-to-create-java-program is even more elaborate on what to do with the PATH in the " Setting the JAVA_HOME and PATH environment variables" section.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!