Sunday, July 4, 2010

Setting the class path to JAVA on Windows XP and 2000

Setting the class path to JAVA on Windows XP &2000

• 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.
• In user variables, select the new tab and give the variable name as JAVA_HOME and value as path of the java folder (Example: C:\Java)
• In System variables we have to set the CLASSPATH; if it is already exists then add the java path up o lib folder (Example C:\Java\lib)

No comments:

Post a Comment