Wednesday, 4 January 2012

How to Set path

path setting in java with screen shot
Setting  java path  in environment varible is very easy just go through following steps
path setting in java with screen shot any one can easily understand how to set path for java in windows 7 operating system,path setting in java with diagram,set path in java environment variables,
set path in windows 7 for java,java path setting in windows 7,path setting in java

Step1: go to your installed java directory

         ex:  computer --> programfiles -->  java --> jdk1.6 --> bin

             (  C:\Program Files (x86)\Java\jdk1.6.0_11\bin  )

Step2: copy the path what you have opened directory window

            ex: C:\Program Files (x86)\Java\jdk1.6.0_11\bin 

Step3: open control panel in that  go through Advance Sysem Settings --> Environment Varibles
            --> System variables
            if there is no path click on new and write variable name as path and variable value as                           path name(what you have copied )
            if path variable already is there go through  and select  that
            click on edit button and paste the path
           view the follwing diagram for better understanding
           observe the 5th step in diagram paste the path at initial(first) position and put semicolon(;)
           if you paste path at last position first put semicolon and then paste the path
           
 

   with this we have done setting path  environment variables to work with java in our computer


Step4 : After setting path just open your commnd prompt and type the following commnads to      
             check whether the java enivironment is enabled or not

             cmd>  javac                                                                                                                                                           'javac' is not recognized as internal ro external command
             cmd>  java
                         'java' is not recognized as internal ro external command

         ---> if you found the above error messages you did not set the path properly check it once          
                 in the environment varibles and modify that and solve your problem
         ---> again come to commnd prompt and type the above commnad this time if u did not get the
                previous error well and good you have done path setting in EV

                                                                                                                                                                 
                                                                                                                                                               
                                                                                                                                                               



    





No comments:

Post a Comment