Page History
...
- In Windows, select Control Panel, then select the Systems application. In the Systems window, select the Advanced tab.
- On the Advanced tab, select the Environment Variables button. To add a new system variable, select the New button.
- In the Variable name text box, enter
JAVA_HOME.
- In the Variable value text box, enter the location of your Java installation, (for example,
C:\ProgramFiles\Java\jdk1.8.0_101)
|
- In the Variable name text box, enter
- Select the PATH system environment variable, and select the Edit button. This opens the Edit User Variable dialog box, displayed here as an example.
In the Variable value text box, prepend the following text in front of the text that already exists in the Variable Value field and click OK.
Code Block %JAVA_HOME%\bin;
...
- In Windows, select Control Panel, then select the Systems application. In the Systems window, select the Advanced tab.
- On the Advanced tab, select the Environment Variables button. To add a new system variable, select the New button.
- In the Variable name text box, enter
ANT_HOME.
- In the Variable value text box, enter the location of your Ant installation, (for example,
C:\ProgramFiles\apache-ant-1.8.4)
.
- In the Variable name text box, enter
- Select the PATH system environment variable, and select the Edit button. This opens the Edit User Variable dialog box, displayed here as an example.
- In the Variable value text box, prepend the following text in front of the text that already exists in the Variable Value field and click OK.
%ANT_HOME%\bin;
...