In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-15 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains the "Linux installation JDK process", the explanation in the article is simple and clear, easy to learn and understand, please follow the small series of ideas slowly in-depth, together to study and learn "Linux installation JDK process"!
Linux installation JDK upload jdk package
Upload jdk packages using rz
decompression
tar -zxvf /home/sugm/softwore/jdk-8u45-linux-x64.gz -C /usr/java/
Note: tar -zxvf -C extract to specified location
Configure environment variables
Because java is used by all users, it needs to be configured in the global configuration file
vi /etc/profile
export JAVA_HOME=/usr/java/java_1.8export PATH=$JAVA_HOME/bin:$PATH Update Profile
source /etc/profile
test
The pit!!
When decompressing, it is found that the user group to which the decompressed java file belongs is not root.
Therefore, the user group that needs to modify the file
chown -R root:root java_1.8/
Thank you for reading, the above is the "Linux installation JDK process" content, after the study of this article, I believe we have a deeper understanding of the process of Linux installation JDK, the specific use of the situation also needs to be verified. Here is, Xiaobian will push more articles related to knowledge points for everyone, welcome to pay attention!
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.