Quickly install Oracle Java 6,7 or 8 in Ubuntu 12.04 LTS

Get started by adding in related repository:

sudo add-apt-repository ppa:webupd8team/java
sudo apt-get update

To install Oracle Java 6:

sudo apt-get install oracle-java6-installer

To install Oracle Java 7:

sudo apt-get install oracle-java7-installer

To install Oracle Java 8

sudo apt-get install oracle-java8-installer
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

w

Connecting to %s