Setting the Path Environmental Variable
Setting the Path Environmental Variable in Vista
First you will need to copy the path to the java jdk.
Navigate to C:\Program Files\Java\jdk1.6.0_12\bin (this is the default location for the JDK installation, if you saved it elsewhere then that will be the location you need to navigate to) in the right hand right pane right click on javac.exe file and select properties in the properties dialog box highlight all the text to the right of location, right click then click copy.
Open your control panel and select System
Then Advanced System Setting, in the left hand pane
Select the Advanced tab.
Click the Environment Variables button towards the bottom (See below).
The following screen will appear.
Select "Path" under System variables and click the Edit button.
The following Dialog box will appear.
At the end of the text in the Variable value textbox enter a semi colon and then paste in the path you copied earlier
Close all the open dialog boxes by clicking their OK buttons.
To test that it has be successful open a MS-DOS / Command Prompt window and type in javac, hopefully a list of options for javac will appear to prove the exercise was successful.
Presentation Transcript
Your Facebook Friends on WizIQ