How to set classpath in Java manually

Step 1

Download JDK and Install in your system

Step 2
Have a look how you can install Java


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:

Setting Spring MVC in Eclipse -Dynamic Project

Steps in Setting Up Spring MVC  The process of setting up the Spring MVC project using Eclipse is a crucial ability for anyone Java dev...

Powered by Blogger.