HomeХобби и стильRelated VideosMore From: Windows and Linux Tutorials from Howtech

How to install Java on Ubuntu

20 ratings | 7568 views
This tutorial will help you to walk through the process of installing and updating Java on a Linux based operating system Don't forget to check out our site http://howtech.tv/ for more free how-to videos! http://youtube.com/ithowtovids - our feed http://www.facebook.com/howtechtv - join us on facebook https://plus.google.com/103440382717658277879 - our group in Google+ Introduction: Java is a program which is used by many applications and program to run smoothly and correctly. If you do not have the latest version of Java installed in your computer, then you may face some difficulties while running some applications. If we are talking about Linux then Java is equally important as it is in any other operating system. Here we will guide you in installing Java on Ubuntu. Follow this step by step guide to learn how to install java on ubuntu. Step 1 -- Opening up Terminal To get started with installing java in Ubuntu, first of all, open up the "Terminal" application by entering its name in the Search Bar. Once it appears on the list, click on its icon to open up the application. This is basically a command line application through which we will install java. Step 2 -- Getting Started with the update Once you have opened it, type in the following command: "sudo add-apt-repository ppa:webupd8team/java" Enter the password when prompted and press Enter to continue. Now hit the Enter key again to continue with the downloading process. Step 3 -- Updating Installer Now enter the following command: "sudo apt-get update" and press enter to continue. Step 4 --Obtaining Oracle License Once the processing is completed, enter the following command: "sudo apt-get install oracle-java7-installer" and press enter. Accept the license terms and agreements for the application and that's it. With the processing completed, the "Download Done" message will appear at the end. And that's how you install Java on Ubuntu.
Html code for embedding videos on your blog
Text Comments (7)
Ethan Smallwood (16 days ago)
The fix for the last step "sudo apt-get install oracle-java8-installer"
Levi kitten (9 months ago)
on the lastcommand you now need to replace the 7 with a 8 on java7.
MY Games Original (2 years ago)
can i do this on JuiceSSH?
Cybertron765 (5 years ago)
Or you could just go to the Ubuntu software center and type java, take your pick of which one, then click install.
John Yu (6 years ago)
when i typed in sudo add-apt-repository ppa:webupd8team/java and pressed enter it said for me to put the password and when i put it in it said it cannot find the command pls help
Bart Willemsen (6 years ago)
Make sure you execute the command sudo apt-get update to refresh your package list! After that, try to install again.
Comb USA (6 years ago)
My computer couldnt find the installer right at the last step. :(

Would you like to comment?

Join YouTube for a free account, or sign in if you are already a member.