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--
This article focuses on "how to install JDK in Ubuntu". Interested friends may wish to have a look at it. The method introduced in this paper is simple, fast and practical. Let's let the editor take you to learn how to install JDK in Ubuntu.
Methods / steps
1. Go to the Oracle official website to download the relevant JDK.
2, assuming that the jdk installation file is on the desktop, the installation directory we specified is: / usr/local/java. But after the system is installed, there is no java directory under / usr/local, so we need to create a java folder.
3. Open the terminal (terminal)
Switch to the desktop and copy sudo cp jdk-6u30-linux-i586.bin / usr/local/java/
Install jdk: switch to root user. (note: if authentication fails because you forget your password, you can change the password of root user first and then execute it. Change the password of root user as shown in the figure)
Change jdk-6u30-linux-i586.bin permissions
Run jdk-6u30-linux-i586.bin
When you see the picture below, you have successfully installed it.
At this point, there is an extra jdk1.6.0_30 folder in the / usr/local/java directory, which you can check.
Note: if authentication fails because you forget your password, you can change the password of the root user first, and then change the password of the root user.
At this point, I believe you have a deeper understanding of "how to install JDK in Ubuntu". You might as well do it in practice. Here is the website, more related content can enter the relevant channels to inquire, follow us, continue to learn!
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.