Tutorial on downloading, installing and configuring environment variables for JDK1.8 [Super detailed illustration]

Table of contents

1. JDK1.8 download

2. JDK installation

3. Configure environment variables


1. JDK1.8 download

jdk8 download address

b0a4ee355b8241e1b6e123c64df39871.png12cdf787228944f9bff3a237a181adbd.png

 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

bb63bd8d23cc402a8c0685eb84e681a9.png

b4904a7805834bd1bee094e7f68dda1b.png

3c589d5a2f14435c8ae027bf82bd238f.png

 Install jre

b1de7f5443434870a5d622480d040f1d.png

 5f58355c4b7546b3896410712d87727b.png

 3. Configure environment variables

 Right-click [My Computer]-->Click [Properties]-->Click [Advanced System Settings]

​​​​​​​de7e1ce033354174855fb1eadba98c4a.png

 6a86cc73a7f44dee85d86c55fd2f2140.png

428bd7f24d8d45f1af9a5890ede6b098.png

e01f909b224b4c17b75dfd6f45bffc27.png

43083683689c4fc3b4e495b8b9fc4254.png 0426104b0b174f82939a9e95af070b70.png

 Open a black window (also called a terminal) and enter javac. As shown in the figure below, the path variable configuration is completed.

47a6c4ba788d4a628e41b63140c80ade.png

Then enter java -version to display the current jdk version number.

9b51a42c6e9a43408c22966dfca31623.png

Guess you like

Origin blog.csdn.net/m0_73442728/article/details/131355469
Recommended