Pages

Sunday, April 6, 2014

SETTING OF ENVIRONMENTAL VARIABLE PATH FOR JAVA

HOW TO SET THE ENVIRONMENTAL VARIABLE PATH FOR JAVA.


In Windows inorder to set

Step 1 : Right Click on  "My Computer"  and click on properties .




Step 2 : Click on Advanced tab




Step 3: Click on Environment Variables






Step 4: Now copy the path of your jdk/bin from the program files which lies in the folder named java in your computer where you install the jdk.
It is mostly stored in the C - drive.
Make sure that you choose jdk not jre.







Now copy the path as shown below..



Step 5: Now go to the Environment variables dialog box and create a new class path  
                 for JAVA_HOME.








Step 6 : Paste the path in the "variable value" column and set "variable name" as path.

After editing click OK.
Step 7 :Your are done setting up your environment variables for your Java , In order to test it go to command prompt and type
  javac



Now click "Enter" and If you get the output as shown below your path for java is set.


If you have any problem regarding this please comment below.

Related Posts by Categories

0 comments:

Post a Comment