| Author |
Setting the JAVA_HOME and PATH environment variables.
|
Nikki Sumnie
Greenhorn
Joined: Jan 02, 2013
Posts: 3
|
|
Hi,
How do I set the JAVA_HOME and PATH environment variables after downloading 1.5 Java 2 Standard Edition SDK? My Command Prompt does not recognize the compiler? JAVAC
How do I get to the install directory in Windows Vista after it is downloaded? Is there anything else that needs to be done so the Command Prompt recognizes programs that I type in and save?
|
 |
Greg Charles
Bartender
Joined: Oct 01, 2001
Posts: 2542
|
|
Hi Nikki,
Setting environment variables, including the path, is not a Java issue. It depends on your operating system. You say you're using Windows Vista (my condolences, by the way) so you can Google for "How to set environment variables on Windows Vista". Here's one site that looks pretty good: https://cwiki.apache.org/STONEHENGE/how-to-set-environment-variables.html
You're right that you will need to set the bin directory of the JDK into your path in order to run javac from the command line. Are you having trouble finding where it was installed? The easiest thing might be to search for javac.exe through your file explorer.
|
 |
 |
|
|
subject: Setting the JAVA_HOME and PATH environment variables.
|
|
|