User Rating: 1 / 5

Star ActiveStar InactiveStar InactiveStar InactiveStar Inactive

This article will show you how to install Oracle JAVA 8 (JDK/JRE 8u66) on Ubuntu, Mint and Debian Linux systems.

We will use an installer maintained by WebUpd8 team.

In this article, you'll need :
- Linux Ubuntu or Mint or Debian installed
- root access is needed

Add repository

On Ubuntu or Mint via PPA repository

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

On Debian

[root]$ echo "deb trusty main" | tee /etc/apt/sources.list.d/webupd8team-java.list
[root]$ echo "deb-src trusty main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list
[root]$ apt-key adv --keyserver hkp:// --recv-keys EEA14886

Install Oracle Java 8

 # Install Java 8
$ sudo apt-get install oracle-java8-installer

# To automatically set up the Java 8 environment variables
$ sudo apt-get install oracle-java8-set-default

Verify installation

 # Check java version
$ java -version
    java version "1.8.0_66"
    Java(TM) SE Runtime Environment (build 1.8.0_66-b17)
    Java HotSpot(TM) 64-Bit Server VM (build 25.66-b17, mixed mode)

$ javac -version
    javac 1.8.0_66


Please leave comments and suggestions,

How To Install Oracle Java 8 In Debian Via Repository (
Install Oracle Java 8 In Ubuntu Or Linux Mint Via PPA Repository (

Enjoyed this article? Please like it or share it.

Add comment

Please connect with one of social login below (or fill up name and email)


Security code


# Install Java 8 on Debian/Mint/UbuntuDoretha 2016-04-07 14:04
I was extremely pleased to uncover this web site.
I want to to thank you for your time due to this fantastic read!!
I definitely appreciated every bit of it and i also have you saved as a favorite to
look at new information on your website.
Reply | Reply with quote | Quote