Table of contents
3. Configure environment variables
1. JDK1.8 download
You need to log in to your Oracle account to jump. If you don't have one, you need to register first. Then you can download normally
2. JDK installation
Double click the exe file to run
Install jre
3. Configure environment variables
Right-click [My Computer]-->Click [Properties]-->Click [Advanced System Settings]
Open a black window (also called a terminal) and enter javac. As shown in the figure below, the path variable configuration is completed.
Then enter java -version to display the current jdk version number.