Download and install JDK1.8 and configure environment variables

1. jdk download 

Download jdk1.8 from the jdk official website. https://www.oracle.com/java/technologies/downloads/#java8-windows​​​​

 ​​​​​​​

 click download

 

You need to log in to an Oracle account, if you don't have one, you need to register one.

2. JDK installation

Double-click the jdk-8u361-windows-x64.exe file to run

 

 

3. Configure environment variables

 Right click on this computer ---> properties ---> advanced system settings ---> environment variables

 

 1> Set JAVA_HOME

 

 2> set path

 

 4. Check whether jdk is installed and configured successfully

Enter java -version on the command line

The explicit Java version number means that the configuration is successful

 

Guess you like

Origin blog.csdn.net/weixin_56572465/article/details/130043349