Thursday, March 14, 2013

How to set path in java ?

How to set path in java ?
Ans :
1) First download java setup from  
      Link " www.oracle.com/technetwork/java/javase/downloads  /index.html "
2) Install jdk 1.6 in your System.
3) Actual Settinges .
            Right click on My Computer>>Properties>Advanced>>Environment variable

 4) In " User Variable for admin "
      click on new, then set as following
     

 Variable name: PATH
 Variable value: C:\Program Files\Java\jdk1.6.0\bin
Then  Press ok.

And then again click on new then set as following
                                                                                                                                                                   
                                                
                
 Variable name: CLASS
 Variable value: C:\Program Files\Java\jdk1.6.0\lib.;
       
5) Now your java path  have been set.                 
  

No comments:

Post a Comment