Install Java JDK 6 / 7 / 8 On Ubuntu / LinuMint

Share it:
In this tutorial I will show you how to install Oracle JAVA JDK 6 / 7 / 8 On Ubuntu / LinuxMint systems Via PPA

There is no official PPA from Oracle JAVA,only they are providing the tar file manually you need to extract and install  and update the alternatives

Webupd8 Team Providing the PPA for installing the JAVA

Installation steps:

Step 1: Add the PPA Provided by the webupd8 team
 sudo apt-add-repository ppa:webupd8team/java
 Step 2: Update the Repository
 sudo apt-get update
 Step 3: Install Oracle Java 

For Installting JAVA 8
sudo apt-get install oracle-java8-installer
For Installting JAVA7
sudo apt-get install oracle-java7-installer
For Installting JAVA6
sudo apt-get install oracle-java6-installer

To set the Default java,run the below command in terminal
sudo apt-get install oracle-java8-set-default
Share it:

Post A Comment: