How to set classpath in Java manually
Go to the installation directory and browse through bin folder of JDK
For Example: c:\Program Files\Java \jdk1.7.0\bin
Copy the Path
Step3:
Right click on My computer -> Properties->Advanced System settings(In windows 7)->Environment Variables->Classpath
Click on Edit On classpath
Step 4:
Give a semicolon and the paste the path copied or else Copy once more browsing to the bin directory and paste in the classpath after putting a semicolon(;) .click on OK and save the settings
Step 5:
Open start and open Command Prompt ,
type "java -version " this will show something as
C:\Users\SANJU>java -version
java version "1.7.0"
Java(TM) SE Runtime Environment (build 1.7.0-b147)
Java HotSpot(TM) 64-Bit Server VM (build 21.0-b17, mixed mode)
Thats All .......................................
https://advancedsitestats.com/compressjpeg.co/ https://unsplash.com/@ekkaur/collections
No comments: