First attach the JDK resources:
: Java SE Development Kit 8u112
ps:32-bit system download x86,64-bit system download X64
JDK Installation:
The installation steps are omitted here .....
PS: Remember JDK installation path
JDK Environment configuration:
First step: Turn on my Computer (win+r)→ System Properties
Step Two: Click Advanced system Settings
Step three: Click Environment Variables ...
Fourth step: Create a new variable named java_home in the system variable , the value of the JDK installation path (64-bit system default path is: C:\Program files\java\jdk1.8.0_112) ,
Fifth step: Find the PATH variable in the system variable , click Edit ,
Sixth step: Create a new two variable value at the end of the path variable :%java_home%\bin and %java_home%\jre\bin
Configuration Complete!!!!!!!!!
Confirm that the JDK environment is configured to complete:
1. Run (cmd), shortcut: Win+r--cmd
2. Enter Javac, indicating that the JDK environment configuration is complete
The JDK environment configuration under WINDOWS10.