1, install JAVA JDK
下载Java JDK:https://www.oracle.com/technetwork/java/javase
1, SE Select the Java
2, select Java SE 8, Java 8 JDK versions later abandoned in the JRE files need to be downloaded separately, if needed later to note here
3, here for Windows, for example, choose to download .exe program file, the download is complete run directly (fool installation)
2, configure JAVA environment variables
1, after installing JDK open system properties, find the environment variable
2, variable configuration system
1, the new
variable name: JAVA_HOME
variable value: C: \ Program Files \ Java \ jdk1.8.0_201 ( JDK installation)2, the new
variable name: CLASSPATH
variable values:;.% JAVA_HOME% \ lib;% JAVA_HOME% \ lib \ dt.jar;% JAVA_HOME% \ lib \ tools.jar
3, edit
the variable name: Path
variable value:;% JAVA_HOME (after configuration is added to the Path)% JAVA_HOME% \ jre \ bin ;% \ bin