Geek.Like.Todd

Installing Oracle Java 7 on Ubuntu 12.04 —

Once upon a time installing Java on Ubuntu was easy peasy. You allowed the third party repo in your /etc/apt/sources.list file and ran a few commands to install it after you updated apt. However.. That was from when Java was Sun, and not under the rampant douchbaggery that is Oracle. Ubuntu has lost it’s ability to distribute Java thru that channel. So.. whatcha gonna do when you need fo rizzle java?

You have to use a PPA. That’s what.

Open a terminal and type this to add the ppa repo:

sudo add-apt-repository ppa:webupd8team/java

then do a

sudo apt-get update

to add the packages to your apt. Then finally type this to install Java 7:

sudo apt-get install oracle-java7-installer

Yes it’s Java 7, not 6, but so far I’ve only seen like 2 apps I use in my daily life that can’t be happy with 7.

I hate Java.. /sigh


0

Categorised as: Linux



Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.