- My windows10 version is 21h1
- Download jdk8
- Open jdk8 to download the url
- Pull down the page to find the download link
- Click the download link to pop up the download button
- Click the Download button to jump to the Oracle login page
- Enter your user name and password to start downloading
- Install jdk8
- Double-click the downloaded JDK8 installation file
- Click next and select the installation directory
- Click “Next” and wait for the installation to complete
- Click “Next” and wait for the installation to complete
- Click “Close” to complete the installation
- Verify the installation
- Enter win+R to open run and enter CMD
- Enter Java -version to view the JDK version. If the Java version is displayed, the installation is successful