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.

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

Share and Enjoy

  • Twitter
  • Facebook
  • Google Plus
  • Email
  • RSS
Tagged with: , , , , , ,
Posted in The Linux and Unix Articles!

Leave a Reply

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

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe

  

Subscribe to get the latest Linux news and how to guides directly on your e-mail!