In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-04-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Development >
Share
Shulou(Shulou.com)06/01 Report--
In this article, the editor introduces in detail "how to view java information in Linux". The content is detailed, the steps are clear, and the details are handled properly. I hope this article "how to view java information in Linux" can help you solve your doubts.
Check the version information: [root@lb01 ~] # java-versionopenjdk version "1.8.0mm 181" OpenJDK Runtime Environment (build 1.8.0_181-b13) OpenJDK 64-Bit Server VM (build 25.181-b13, mixed mode) View the environment variable: [root@lb01 ~] # echo $JAVA_HOME (empty) find java: [root@lb01 ~] # which java/usr/bin/java [root@lb01 ~] # ls-lrt / usr/bin/javalrwxrwxrwx. 1 root root 22 Oct 25 2019 / usr/bin/java-> / etc/alternatives/java check the hyperlink for environment variable information: [root@lb01 ~] # ls-lrt / etc/alternatives/javalrwxrwxrwx. 1 root root 71 Oct 25 2019 / etc/alternatives/java-> / usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.el7.x86_64/jre/bin/java so the java environment variable is: / usr/lib/jvm/java-1.8.0-openjdk-1.8.0.181-7.b13.el7.x86_64/ read here, this article "how to view java information in Linux" has been introduced. If you want to master the knowledge of this article, you still need to practice and use it. If you want to know more about the articles, you are welcome to follow the industry information channel.
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: 271
*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.