How To Install The Oracle Java 8 on Debian Wheezy And Debian Jessie, Via Repository

Hello Linux Geeksters. The Oracle Java 8 (stable) has been recently released, coming with a lot of changes and new features. Among others, it got support for functional program via the “Project Lambda”, received some security updates and bug-fixes and got some interface improvements, making the developers life easier.

Watch Free Movies

In this article I will show you how to install Java 8 on Debian 7 “Wheezy”, Debian 8 “Jessie” and their derivative systems.

Despite the fact that Debian does not know how to hand PPAs, they can be used as ordinary repositories. Follow the instructions for your system exactly, in order to get a successful installation.

How to install the Oracle Java 8 on Debian 8 Jessie:

$ sudo sh -c 'echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" >> /etc/apt/sources.list'
$ sudo sh -c 'echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" >> /etc/apt/sources.list'
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886
$ sudo apt-get update
$ sudo apt-get install oracle-java8-installer

How to install the Oracle Java 8 on Debian 7 Wheezy:

$ sudo sh -c 'echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" >> /etc/apt/sources.list'
$ sudo sh -c 'echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu precise main" >> /etc/apt/sources.list'
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys EEA14886
$ sudo apt-get update
$ sudo apt-get install oracle-java8-installer

Scroll to Top