| Author |
PATH enviornment for javac
|
carlos moreno
Greenhorn
Joined: Nov 01, 2007
Posts: 2
|
|
How do I setup the PATH ENviornment to used the javac compiler in the command line. I have a windows vista home edition OS. I am beginning to read the Head First Java. First step is to have everything setup to start coding. Thanks in advance to whom ever gives me any help.
|
I have not failed. I've just found 10,000 ways that won't work. -Thomas Edison
|
 |
Tod Novak
Greenhorn
Joined: Dec 14, 2006
Posts: 13
|
|
I'm not sure if it's the same in Vista, but in XP you would add the location of your JDK to your PATH like this: Right click 'My Computer' > 'Properties' > 'Advanced' > 'Environment Variables': In the lower window, you'll see a variable name PATH (not CLASSPATH). Highlight that variable, then click 'Edit'. Add the following line to the end of you PATH: C:\Program Files\Java\jdk1.6.0_02\bin (Note: this is just an example! Your file path to the \Java\jdk1.X.X_X\bin may be different depending on where you installed your Java JDK. If you just took the defaults, this will probably be the same.)
|
"-Of all the things I've lost...I miss my mind the most!"
|
 |
carlos moreno
Greenhorn
Joined: Nov 01, 2007
Posts: 2
|
|
Got it thanks Tod Novak
|
 |
Dave Roy
Greenhorn
Joined: Feb 15, 2008
Posts: 1
|
|
Perfect. 5 Minutes to find an answer. Thanks from me to, Tod Novak
|
 |
 |
|
|
subject: PATH enviornment for javac
|
|
|