![]() |
System | Java > Environment Variables > Windows XP | Web |
| Setting
the PATH Environment Variable |
| Note: | This instruction assumes that you have installed Java 2 SDK in the C:\java\jdk directory. If necessary, replace this directory in which you have intalled your Java 2 SDK software. |
| 1 | Open the Control
Panel folder and open the System applet. |
| 2 | Switch to the Advanced tab and click the Environment Variables button. |
| 3 | In the lower pane (System variables), click the New button and create the JAVA_HOME variable: Variable name: JAVA_HOME Click the OK button when done. |
| 4 | In the lower pane (System variables), click the New button and create the JAVA_BIN variable: Variable name: JAVA_BIN Click the OK button when done. |
| 5 | Be extremely careful with changes to the PATH VARIABLE!!! If necessary, scroll the list of System variables
down to reveal and select Path. Next, click
the Edit button. ;%JAVA_BIN% Do not forget the semicolon (;) in front of %JAVA_BIN%!!! Never, ever press Space Bar!!! Click the OK button when done. |
| 6 | Close the Environment Variables dialog box (click OK). |
| 7 | Close the System Properties applet (click OK). |