Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

RHEL7 installation jdk and environment configuration tutorials

2025-03-28 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/02 Report--

This article mainly explains the "RHEL7 installation jdk and environment configuration tutorial", the article explains the content is simple and clear, easy to learn and understand, the following please follow the editor's ideas slowly in depth, together to study and study the "RHEL7 installation jdk and environment configuration tutorial" bar!

1. Upload jdk to the directory and decompress:

Tar-ivh jdk-8u161-linux-x64.tar.gz

2. Open the configuration file profile for environment configuration

Vim / etc/profile

Export JAVA_HOME=/home/java/jdk1.8.0_161

Export PATH=$JAVA_HOME/bin:$PATH

Export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar

3. Enter the command to restart the profile file

Source / etc/profile

4. Enter Java and javac for testing

Thank you for reading, the above is the "RHEL7 installation jdk and environment configuration tutorial" content, after the study of this article, I believe you have a deeper understanding of RHEL7 installation jdk and environment configuration tutorials, the specific use of the need for you to practice and verify. 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.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report