Friday, February 3, 2012

Path & ClassPath setting for JAVA

  • Step1:

        Click on My Computer:
                      C:/Program files:/Java

  • Step2:

        Open java folder & you can see two folders :jdk(java developement kit) &jre(java runtime environment).

Open the jdk folder.



  •  Step3:

         Inside jdk one more folder is there that is bin.
         Open that bin folder.
  • Step4:

         Copy the address ,which in the address bar.



  •  Step5:

         Write click on My Computer icon on desktop and select the Properties option.

  •  Step6:

         CLICK on Advanced and then click on Environment Variables.

  •  Step7:

          Under user variables click on New.

  •  Step8:

         Type Variable name as PATH & paste the copied address in the Variable Value.

  •  Step9:

         Now click on New under the system variables

  •  Step10:

          Go to jdk folder again and open the lib folder.

  •  Step11:

           Copy the address in the address bar of the lib folder.
  •  Step12:

            Type the Variable name as CLASS or CLASSPATH & paste the previously copied address from the lib folder and press OK

Now enjoy doing Java programming on your system.
                                                                        Any doubts write to me .

No comments:

Post a Comment