Install OpenJDK 8 on Ubuntu 14.04 LTS

Step 1: Add the OpenJDK Team Personal Package Archive (PPA)

Add the PPA:

Once, we run the above command you should be able to see the below message on the command interface.

Install OpenJDK 8 on Ubuntu1

Step 2: The Installation

The best practice is first to update our packages

Once, we run the above command you should be able to see the below message on the command interface.

Install OpenJDK 8 on Ubuntu2

Then install Open JDK 8 with the PPA installer:

Once, we run the above command you should be able to see the below message on the command interface.

Install OpenJDK 8 on Ubuntu3

Step 3: Verify Installation

Now verify that Java is installed by typing:

You will see result similar to:

Once, we run the above command you should be able to see the below message on the command interface.

Install OpenJDK 8 on Ubuntu4