One, Win10 computer with JDK installed
1. First find ' This computer ', right click to select Properties
2. Select Advanced System Settings
3. Select Environment variables
4, select New, variable named (java_home) variable value is the path to install the JDK before, my is installed in E:\Program files\java\jdk1.7.0_65_64, you have to look at their own
5, find Classpath, no new to the words, the variable named Classpath variable value is.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar (not a single symbol here, see the values in the picture, note the front dot and comma)
6, find path, edit it at the beginning or the end of the Add, click the New button to add a variable value of%java_home%\bin (or absolute path E:\Program files\java\jdk1.7.0_65_64\bin)
New Add variable value at point%java_home%\jre\bin (or absolute path E:\Program files\java\jdk1.7.0_65_64\jre\bin)
"Before Window10 and before the system add a variable a bit different, before the system can be added after the path with a semicolon can be appended, but WINDWOS10 is a need to add a related variable"
Configuration of Java Environment variables (WIN10 environment)