Install Oracle Java on Ubuntu desktop

Oracle Java is not installed by default, regarding fact that Open Java installation is available over official channels. Sometimes it is necessary to install Oracle Java. This tutorial is applicable to Linux Mint too.

First you need to install PPA, which supports all Ubuntu releases from 12.04 until now and Linux Mint 13, 17 and 17.1. When you install PPA JDK8 and JRE8 will be available to you.

Type following syntax in order to install PPA:

sudo add-apt-repository ppa:webupd8team/java

Then type:

sudo apt-get update

On finished update you are ready to install Oracle Java. Type following:

sudo apt-get install oracle-java8-installer

Installation will start small wizard. Select OK in order to agree to licence and then select Yes on next screen in order to allow binaries installation (Slide 1.).

Install Oracle Java on Ubuntu desktop

Slide 1.

On finished installation verify your Oracle Java version by typing following:

 test@ubuntu:~$ java -version

Toy will receive output with current latest version. Output is omitted:

java version “1.8.0_74”
Java(TM) SE Runtime Environment (build 1.8.0_74-b02)
Java HotSpot(TM) 64-Bit Server VM (build 25.74-b02, mixed mode)

Now type following in order to customize Java:


Java control panel will appear (Slide 2).

Install Oracle Java on Ubuntu desktop

Slide 2.

That`s it, keep an eye on as we will continue with more tutorials . On our website you will find a lot of tips and tricks for any IT field !

Dejan Dzodan

Dejan Dzodan

IT professional for more then 15 years, mostly in financial institutions but with experience in ISP and retail. Proven in networking and overall infrastructure projects. Cisco instructor.

Leave a Reply

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

4 + 3 =