In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
1. First of all, go to the official website to download the linux version of jdk I downloaded 64-bit. Jdk-8u121-linux-x64.tar.gz
2. Copy the downloaded jdk to linux
3. Create a new java directory mkdir java under the linux root directory
4. Copy jdk to this directory and apply cp / jdk-8u121-linux-x64.tar.gz / java
5. Decompress jdk and apply tar-xzvf file.tar.gz / / extract tar.gz
Create a soft connection: ln-s / usr/java/jdk1.8.0_162/ / usr/jdk
6. Add the environment variable vi / etc/profile at the end of the file
Export JAVA_HOME=/usr/jdk # set according to the installation directory
Export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar
Export PATH=$PATH:$JAVA_HOME/bin
Export JAVA_HOME CLASSPATH PATH
Then esc: wq can exit.
7 、
Then run java-version to see if the configuration is successful
Report-bash: / usr/local/java/jdk1.8.0_144/bin/java: / lib/ld-linux.so.2: bad ELF interpreter: No such file when you install jdk1.8 to view the version under Linux
There is nothing wrong with the installed jdk1.7. Check the Internet and use the command yum-y install glibc.i686 to install it. * *
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.