There are two ways to set PATH and CLASS PATH in two ways
1. Temporary (Command Line)
2. Permanent (Environment Variables)
1.We can set Path and ClassPath through command line
Go to C Drive and find where JDK is installed and copy that Path and paste in command prompt
Set Path |
Note : you will not get any message for setting PATH
successfully
2.we can set CLASSPATH through command line
2.We can set PATH and Class Path as permanently
First Go to MyComputer Properties ->Advanced System
Settings ->Environment Variables -> Click on New
Copy Path URL and Paste it in below
Copy Class Path URL and Paste it in below
No comments:
Post a Comment