Below are the instructions from the
Java Ranch FAQ for setting the CLASSPATH variable. The process here is exactly the same. Just replace "CLASSPATH" with "JAVA_HOME" in these instructions. The value of the JAVA_HOME variable is the path to your JDK installation.
Instructions on Setting the CLASSPATH on different Operating Systems
For Windows XP/2000/NT
* Open the System Properties window (by right-clicking on My Computer and selecting Properties, or through the Control Panel - Start -> Control Panel -> System).
* On the Advanced tab, click the Environment Variables button.
* On the Environment Variables windows, if a CLASSPATH variable is already defined, then select it and click Edit. If one is not defined, then click the New button.
* On the User Variable window, the variable name should be CLASSPATH. Set the value as appropriate. See the description of the value at the top of this page.
[ January 13, 2005: Message edited by: Layne Lund ]
[ January 13, 2005: Message edited by: Layne Lund ]