This article will show you how to install Java 8 on the Debian 7 "Wheezy" and the Debian 8 "Jessie" system and the derived version. Need a friend to refer to under.
Install command on Debian 8 Jessie:
Copy Code code as follows:
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
Commands installed on the Debian 7 wheezy:
Copy Code code as follows:
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