Install JDK16 and configure environment variables (with Baidu network disk download address)

 1. First, let's get the installation package of JDK16

1. You can go directly to the oracle official website to get the JDK: https://www.oracle.com/technetwork/java/javase/downloads/index.html

Because downloading the installation package from oracle now requires registration of an oracle account, and the download speed is limited. So the author provides you with a link to download from Baidu Netdisk.

2. Download link through Baidu Netdisk: 

Link: https://pan.baidu.com/s/1GIDefGQMg5R3hAmT0dsdyg  Extraction code: 0002 

If the network disk link is invalid, please leave a message in the comment area~

3. In addition, I will give you Amway a way for the author to obtain resources ( remember to give the author a thumbs up if you think it is useful ), the WeChat search applet "Paddy Field Shell" (or scan the applet code below to enter) , there are rich software installations Package (poj version) and Java video tutorial . If you don’t need it for the time being, you can also save it first. These are commonly used resources when we do development, and we may use them someday, so we don’t need to search everywhere~ . At the same time, in order not to waste everyone's time, the author deliberately cut a few pictures for your reference, whether to go and check it as follows.

        

If the resources shared by the author are useful to you, please give the author a thumbs up in the lower right corner~ (manually poor)

Tip: After downloading JDK16 on the official website or Baidu Netdisk, let's go to the installation steps.

Two, install JDK16

1. Double-click the downloaded JDK installation file [JDK-Windows-16]

2. After clicking, the JDK installation guide will pop up, and we directly click the [Next] button.

3. Now enter the [Select JDK installation path] page. Here you can choose your JDK installation path, I chose to install it in the [D:\Java\jdk] directory (you can also use the default path directly), after the selection is complete, click the [Next] button, and the JDK installation will be executed at this time .

Note: Whether it is the default system installation path or a custom installation path, please remember that this address will be used later~

4. After the installation is complete, the following interface will appear, we click to close the pop-up window. [Next we configure the JDK environment variables]


5. Enter the directory where we installed JDK in [Step 3], and [Copy Directory Path] will be useful later.

Tip: This is the installation step you chose in [Step 3]

6. Right-click on the [Desktop->This Computer] shortcut, and select the [Properties] column in the pop-up box

7. Click [Advanced System Settings]

8. Click [Environment Variables]

9. Click the [New] button under [System Variables] to create a new system variable.

10. Enter [JAVA_HOME] in the [Variable Name] input box, and [Variable Value] enter [JDK installation path, which is the content copied in step 6, mine is (D:\Java\jdk)], click OK after the input is complete button.

这是我的安装配置
JAVA_HOME
D:\Java\jdk

11. Find the [path] variable in the [System Variables] list, and double-click to open it.

12. Click the [New] button in the pop-up window, and an input box will pop up below, enter [%JAVA_HOME%\bin] in the input box, and click the [Confirm] button after the input is completed (click to take effect).

13. Click the [Confirm button] again to save the environment variables and close the pop-up window. (Be sure to confirm, otherwise it will not take effect)

14. Run the [win+r] key, enter [cmd] and press Enter to end opening the command prompt (if you have opened this window at the beginning, please close and reopen it, otherwise the JDK variable just configured may not be detected)


15. Enter the [javac] and [java -version] commands in the command prompt, and the following interface will appear to indicate that the installation is successful.

16. At this point, JDK16 is installed successfully~


If the installation fails, please confirm whether the name in your environment variable is correct, and whether the path pointed to by JAVA_HOME is the installation path of your JDK.

Finally, click on the lower left corner to reward the author (like, bookmark + follow) and then go (manually poor)

Students who want to install IDEA (POJ version) please go to: https://blog.csdn.net/qq_42825813/article/details/118313420

Guess you like

Origin blog.csdn.net/qq_42825813/article/details/118495262