UBUNTU

Install Oracle Java on Ubuntu

How to install Oracle Java on Ubuntu

You can install Oracle Java on Ubuntu using the following steps. First, you need to add  Oracle’s PPA, provided by the WebUpd8 team. 

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

Once it is completed, you can install different Java versions as per your requirement.

Oracle Java 6

It is reached the end of life in February 2013. Hence it is not available for Ubuntu 16.04

sudo apt-get install oracle-java6-installer

Oracle Java 7

It is also not available for Ubuntu 16.04 as it was reached the end of life in April 2015.

sudo apt-get install oracle-java7-installer

Oracle Java 8

It is the latest stable Version of Java.

sudo apt-get install oracle-java8-installer

Oracle Java 9

This version of Java is not recommended to install as it is a developer preview.

sudo apt-get install oracle-java9-installer

That’s it!

Also ReadPlease install 32 bit java and update alternatives

If you like this post and wish to receive more articles from us, please like our FB page: Grepitout

Your suggestions and feedbacks will encourage us and help to improve further, please feel free to write your comments.

For more details on our services, please drop us an E-mail at info@grepitout.com

Topics