I only learned to dress today. Java SE Development Kit (8.0.910.14) version for Win7,win8,win10
Setting up the environment after the software has been installed after the process has been completed
First, open the system variables, such as environment variables, advanced system settings, computer Control Panel
1) Add Java_home
C:\Program Files (x86) \java\jdk1.8.0_91//This is the place where Java is installed in My Computer
2) Modify Path
%java_home%\bin//; I think it's to separate from the last path.
3) Add Classpath
.; %java_home%\lib\dt.jar;%java_home%\lib\tools.jar//This class of path feel is universal, in front of. You must add
Then press win+r and enter CMD in the input box.
The java-version will show the Java version and information
Re-enter Javac a directory-like vertical column appears
If not, there is a problem with the environment configuration.
Java Installation and Environment settings