Friday, 2 October 2015

Set Java PATH System Variables

Step-1. Right Click on my computer and select properties.

Step-2. Click on the 'Environment variables' button under the 'Advanced' tab.

Step-3. Click on New Button under the System Variables and Set Variable name as JAVA_HOME and Variable value C:\Program Files\Java\jdk1.x.x then click OK button

Step-4. Select path under the System variables and then Click on Edit button.

Step-5. Inside edit System Variables put %JAVA_HOME%\bin inside variable value then Click OK.


Note- Make sure u start with ; in the Value so that it doesn't corrupt the other environment variables which is already set.

Step-5.You are done setting up your environment variables for your Java , In order to test it go to command prompt and type .

JAVA


You will get list of help doc

No comments:

Post a Comment