- Press [Windows] + [Pause] keys
- Click on the "Advanced" tab
- Click on the "Environment Variables" button
- Choose the scope's level : "User variables for xyz" or "System variables" and select the PATH variable
- Click on "Edit" button
- In the value's field, go to the end of the current value and add a semicolon if there's not already one, then add the path to the folder you want to add, ex.: "%SystemRoot%\system32;C:\dev\Java\jdk1.7.0_51\bin". If you want to use an other environment variable's value, simply specify the name of the value surrounded by the percent character (%), ex.: "%SystemRoot%\system32;%JAVA_HOME%\bin" would have the same result if the JAVA_HOME variable contain the value "C:\dev\Java\jdk1.7.0_51".
- Click on the "OK" button
- Click on the "OK" button
- Click on the "OK" button
The path "C:\dev\Java\jdk1.7.0_51\bin" is now declared in the PATH.
No comments:
Post a Comment