Recent Posts

Responsive Ads Here

Saturday 5 March 2016

How to Set Path and class path

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 as temoprary
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





done we successfully set path and class path as temporary and permanently. 





Watch video to set path and class path  for permanently

No comments:

Post a Comment