In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-06 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/02 Report--
This article introduces the knowledge of "how to download and install Java jdk". In the operation of actual cases, many people will encounter such a dilemma, so let the editor lead you to learn how to deal with these situations. I hope you can read it carefully and be able to achieve something!
Download JDK
Download the official website of Oracle
Or click to get it directly
Click the menu and select download
Select the appropriate version to download. The latest version is jdk14.0.1.
Check "yes" and click download.
II. JDK installation
1. After downloading, double-click the application to begin the installation.
two。 It is recommended to change the installation path and click next without changing the path.
3. Installation is under way.
This installation process installs jre at the same time and uses it directly. Installation is complete, click close
III. Configuration of environmental variables
First of all, you need to find the directory address of the above installation of jdk.
1. Click on the computer or my computer, right mouse button, select Properties
two。 Click Advanced system Settings, select Advanced, and click Environment variable
3. Select New system variable
4. Edit JAVA_HOME and click OK
5. Locate Path and click Edit. Add% java_home%\ bin
6. Click OK to complete the configuration of jdk environment variables
7. The jre installation directory has not been found after installing jdk since jdk12, so we need to add it manually. After win+R opens the running window, type cmd to open the cmd command window.
9. Change to the jdk installation directory. The command is: cd path
10. Enter the command: bin\ jlink.exe-- module-path jmods-- add-modules java.desktop-- output jre
11. After completing the above operation, jre appears in the jdk installation file directory
twelve。 Repeat the above 3-5 steps to configure the jre environment variable
Create a new environment variable name: JAVA_HOME_JRE variable value: d:\ java\ jdk14.0.1\ jre
Edit the Path variable to append% JAVA_HOME_JRE%\ bin to the variable value
Confirm and complete the configuration of jre environment variables
13. When the basic configuration is complete, test whether the installation is successful or not. After win+R opens the running window, type cmd to open the cmd command window.
14. Enter java-version to enter, and the following figure appears, indicating that the environment is configured successfully.
This is the end of "how to download and install Java jdk". Thank you for reading. If you want to know more about the industry, you can follow the website, the editor will output more high-quality practical articles for you!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.