Java installation
The first step
Install Jdk-8u111-windows (choose to install 32-bit or 64-bit depending on the number of digits of the operating system)
Note: The path in English, do not appear in Chinese and space and so on. JDK and JRE are placed in the same folder for easy management
The path to this example is D:\app\Java
Java Environment Configuration
Step Two
My Computer--Properties--Advanced system settings--Advanced tab--environment variables
Step Three
System variables
Variable path--edit (if no path, new)
Add the following path
D:\app\Java\jdk1.8.0_111
D:\app\Java\jdk1.8.0_111\bin
New Classpath
Add the following path
D:\app\Java\jdk1.8.0_111
D:\app\Java\jdk1.8.0_111\lib
Verifying the Java Environment configuration
Fourth Step
Run cmd
In the popup command window, type: javac-version
Display content: Javac 1.8.0_111
Indicates that the Java environment installation configuration is complete.
Java Installation and Environment configuration