1. Download the corresponding jdk package from the official website, the following is the downloaded package;
2. Double-click to install to the specified directory;
3. Enter System Properties "" Advanced" "Environment Variables" "System Variables", create a new system variable, and set the name of the java system variable;
4. Double-click the path in the system variable, import the JAVA_HOME just set after entering the page, and add bin;
5. After the environment variables are configured, open cmd and enter java -version to check whether the configuration is good.