上QQ阅读APP看书,第一时间看更新
On Windows
For illustrative purposes, assume that you have installed Java JDK at C:\tools\jdk:
- Go to Control Panel.
- Click on System.
- Click on Advance System settings.
- Add Environment to the following variables:
- Value: JAVA_HOME
- Path: C:\tools\jdk
- Locate Path (under system variables, bottom half of the screen).
- Click on Edit.
- Append %JAVA_HOME%/bin to the end of the existing path value (if any).