In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
1. Download:
Http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
My computer is 64-bit, so the download version is jdk-8u121-windows-x64.exe
2. Installation:
I choose to install by default, or I can customize the installation path. To install JRE after installing JDK, it is recommended that you install two JDK and JRE installation paths side by side (the default installation is created side by side, which can be ignored), as shown in the following figure.
3. Configure environment variables:
1. Open the environment variable configuration. Computer → properties → advanced system settings → advanced → environment variable, which is configured in the system variable.
two。 Configure JAVA_HOME. New, variable name JAVA_HOME, variable value, jdk path, my path is C:\ Program Files\ Java\ jdk1.8.0_121, save.
3. Configure CLASSPATH. New, variable name CLASSPATH, variable value,.;% JAVA_HOME%\ lib;%JAVA_HOME%\ lib\ tools.jar (the first semicolon is preceded by a dot).
4. Configure Path. Open the Path variable and add% JAVA_HOME%\ bin;%JAVA_HOME%\ jre\ bin before the value of the variable
Fourth, verification:
Run cmd, type java-version, and display the java version successfully.
Summary
The above is the tutorial diagram of installing JDK8 under the windows system introduced by the editor. I hope it will be helpful to you. If you have any questions, please leave me a message and the editor will reply you in time. Thank you very much for your support to the website!
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.