window10 install jdk1.8

1. Download the jdk1.8 installation package first

https://pan.baidu.com/s/1hvbVlAn2pKIVAyTx-HKTrA
提取码:gt76

2. For installation, except for this installation location, you need to pay attention to the following and all other next steps. You'd better find a place that is easy to remember for this installation location.
Insert picture description here
3. Set environment variables
Right click on my computer -> click on properties -> click on advanced system settings (left side) -> click on environment variables
Insert picture description here

%JAVA_HOME%\jre\bin
%JAVA_HOME%\bin

Insert picture description here

.;%JAVA_HOME%\lib;%JAVA_HOME%\lib\tools.jar

Insert picture description here
4. Test whether the installation is successful
win+R, then cmd, press Enter,
Insert picture description here
enter java and then press Enter, the following is the installation is complete,
Insert picture description here
enter javac and then press Enter, the following is the environment variable configuration
Insert picture description here

Guess you like

Origin blog.csdn.net/MYNAMEL/article/details/113117835