In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-07 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >
Share
Shulou(Shulou.com)06/03 Report--
1. Find a list of java related items
[root@localhost ~] $yum-y list java*
two。 Installation related
Yum install java-1.6.0-openjdk*
Be sure to mount / dev/cdrom to / mnt/cdrom (here I have configured the yum source of my disk here in / etc/yum.repos.d/cd.repo, so I have to mount the CD, of course)
Click on the link here, and note that the image file must be used correctly! I used it incorrectly so that I couldn't install yum all the time.
After mounting, there will be the following files under / mnt/cdrom!
3. Confirm that the installation is successful
[root@localhost ~] $java-version
4. Modify the / etc/profile file, note that I am debugging and playing by myself, once modified, all users here have the permission to compile java!
5. Load this configuration file using source / etc/profile!
6. Write a program at will
Javac Test.java
Java Test
The output indicates that the environment configuration is complete!
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.