Oracle Java 8 stable version has recently been released, with many new feature changes. Among them, functional programs support the "Lambda project" and receive some security updates and bug fixes on the Interface improvement, making it easier for developers to work.
This article will show you how to install Java 8 on the Debian 7 "Wheezy" and Debian 8 "Jessie" systems and derivative versions.
Run the following command 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
Command Installed On Debian 7 Wheezy:
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 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