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 > Internet Technology >
Share
Shulou(Shulou.com)06/02 Report--
This article mainly explains "centos how to install openJDK1.8", the content of the article is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and learn "centos how to install openJDK1.8" bar!
Just write to the large version, and then automatically install the latest small version under the big version, for example, the latest small version is 212, then the installed version will be 1.8.0. 212.
Yum install-y java-1.8.0-openjdk
After the installation is successful, executing java-version will output the following version information starting with openjdk
Openjdk version "1.8.0y212" OpenJDK Runtime Environment (build 1.8.0_212-b04) OpenJDK 64-Bit Server VM (build 25.212-b04, mixed mode)
If you originally installed sunJDK, you need to delete the original configuration information (the java environment configured in / etc/profile file), and then execute source / etc/profile
Some servers may need to be restarted before the version can be switched over.
Thank you for reading, the above is the content of "how to install openJDK1.8 in centos". After the study of this article, I believe you have a deeper understanding of how to install openJDK1.8 in centos, and the specific use needs to be verified in practice. Here is, the editor will push for you more related knowledge points of the article, welcome to follow!
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.