How do I set classpath?
Answer
How to Set PATH and CLASSPATH in Java?
Answer
How to Set PATH and CLASSPATH in Java?
- Right-click on ‘My Computer’ and select ‘Properties’.
- Click the ‘Environment variables’ button under the ‘Advanced’ tab.
- Now, alter the ‘Path’ variable so that it also contains the path to the Java executable.