In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
How to set java environment variable in Linux system, aiming at this problem, this article introduces the corresponding analysis and solution in detail, hoping to help more partners who want to solve this problem to find a more simple and feasible method.
1. View the installation path of java
2. View the execution path of java
3. Configure java environment variables
4. Installation path and execution path of java
5. Note that the bin path must be taken after the JAVA_HOME here, and must be used when the path setting is completed, export output, and make sure that the export word is not misspelled.
6. After setting the environment variable, the test using the v parameter of java still fails because the source command is not executed
7. Execute the source command after the environment variable is modified to make the configuration effective
8. After running source, you can see that the java version indicates that the java environment variable has been configured successfully by using the version parameter of java.
9. This is the core content of profile file configuration: java variable
10. Java environment variable configuration instructions
11. View java environment variables
Note: when configuring, use the root account to operate.
This is the answer to the question about how to set the java environment variable in the Linux system. I hope the above content can be of some help to you. If you still have a lot of doubts to be solved, you can follow the industry information channel to learn more about 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.