HomeХобби и стильRelated VideosMore From: TheLinuxNoob

How to Install Oracle's Java in Linux

18 ratings | 2973 views
Hello YouTube, it's TheLinuxNoob here. Today I'm going to show you the easiest way on how to install Oracle's version of Java in any Debian based Linux distrobution. Such as Ubuntu, or Linux Mint. The first thing you want to do, is enter this command in the terminal: sudo add-apt-repository ppa:webupd8team/java After that, press enter. What this does, is it adds Oracle's repository to your system so you can install Java straight from the terminal. Now you need to update your repositories. You do that by entering: sudo apt-get update After you have updated all of your repositories, now you can install Java. Now you just have to enter: sudo apt-get install oracle-java7-installer Now you'll be prompted with a message, press enter, now press the left arrow key, and press enter again. The terminal will run for a while, and when it's complete you can exit out. I hope this tutorial helped everyone out. I remember when I first started out on Linux, no one had a tutorial on how to do this the proper way.
Html code for embedding videos on your blog
Text Comments (3)
It works fine for me....running elementaryOS
stidalen1 (2 years ago)
Same here, have you found a way to do this?
Philip V (5 years ago)
when I do: sudo apt-get install oracle-java7-installer it says unable to locate package oracle-java7-installer

Would you like to comment?

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