In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you how to install and configure jdk in Ubuntu. The content is simple and easy to understand. The organization is clear. I hope it can help you solve your doubts. Let Xiaobian lead you to study and learn how to install and configure jdk in Ubuntu.
First download the version of Ubuntu jdk for your platform. Click the link below to download it directly: [url=http://developers.sundownload/.com.cn/java_se.html]developers.sun.com.cn/download/java_se.html[/url]
>> First switch to administrator account sudo su
Then go to the installation directory placed by Ubuntu jdk and directly execute:
sh ./ jdk-6u13-linux-i586.bin
Enter all the way down, there will be a lot of english subtitles, until the screen shows that you need to enter yes/no, this will definitely understand what it means [img]https://cache.yisu.com/upload/information/20210521/367/443355.gif[/img].
The Ubuntu jdk1.6.0_13 directory will appear. Congratulations on completing the installation of Ubuntu jdk.[img]https://cache.yisu.com/upload/information/20210521/367/443357.gif[/img] Then configure the environment variables.
[color=#0000ff][b]JDK[/b][/color] environment variable configuration, there are two files will be involved: online search netizens post, a variety of too many introductions.
One is: /etc/environment >> is the system boot load index.
/etc/profile >> is an environment variable.
[color=#0000ff][b]JDK[/b][/color] environment variables are configured in the following way, only modify a file, the configuration is OK, and the verification test passes [img]https://cache.yisu.com/upload/information/20210521/367/443359.gif[/img].
After setting PATH, JAVA_HOME, CLASSPATH environment variables, use gedit editor to modify profile file.# gedit /etc/profile Add the following statement to the end of the pop-up profile file before umask 022
export JAVA_HOME=/home/ubtools/jdk1.6.0_13
export CLASSPATH=$CLASSPATH:$JAVA_HOME/lib:$JAVA_HOME/jre/lib
export PATH=$JAVA_HOME/bin:$JAVA_HOME/jre/bin:$PATH:$HOMR/bin
The above is all the content of "Ubuntu how to install and configure jdk" this article, thank you for reading! I believe that everyone has a certain understanding, hope to share the content to help everyone, if you still want to learn more knowledge, welcome to pay attention to 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: 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.