jdk installation
Choose whether to change the installation directory according to your own computer needs. The blogger’s solid-state hard drive is relatively small. In order not to slow down the computer, choose to install to the mechanical disk (change the directory, remember, useful) and
change it to the same Java file. The
installation is complete.
jdk environment configuration
This computer-right click-properties
The variable name is JAVA_HOME, and the variable value is filled with the final path of the JDK installation
Find the path system variable, double-click
Add directly at the end; %JAVA_HOME%\bin;%JAVA_HOME%\jre\bin;
also add the semicolon before and after
Add
Variable name CLASSPATH
variable value%JAVA_HOME%\lib\dt.jar;%JAVA_HOME%\lib\tools .jar
Test jdk
Open the cmd command console, enter java,
enter javac,
enter java -version (symbol-there is a space in front of it)
are normal, which means the installation is successful