1. Install JDK;
Second, configure the environment variables:
1. JAVA_HOME: Configure the JDK installation path;
2. PATH: Configure the location of the JDK command file (the location of the bin directory);
3. CLASSPATH: Configure the location of the class library file (the location of the lib directory);