jdk installation and configuration
1. Determine the number of bits in the computer system
WIN+R----input dxdiag----check the computer digits
2. Download the jdk paired with the computer system
a) Open the official website:
https://www.oracle.com/java/technologies/downloads/
b) Download the jdk of the corresponding system and install it
3. Configure jdk environment variables
Find the jdk installation directory and copy
Right-click Computer→Properties→Advanced System Settings→Advanced→Environment Variables, create a new system variable (copy the variable value to your own installation directory)
variable name:
JAVA_HOME
Double-click the path variable
New, enter the following values, OK
%JAVA_HOME%\bin
4. Check if jdk is configured
Win+R----input cmd----input java -version (note the space)
java -version
As shown in the figure, the configuration is successful