Search

How to set java ClassPath in windows?

1. Select Start -> Control Panel -> System -> Advanced -> Environment Variables -> System Variables -> CLASSPATH.
2. If the Classpath variable exists, prepend .;C:\programfiles\JDK1.7\bin to the beginning of the CLASSPATH varible.
3. If the CLASSPATH variable does not exist, select New. Type CLASSPATH for the variable name and .;C:\programfiles\JDK1.7\bin for the variable value.
4. Click OK three times.

No comments: