Install Java 8 in debian Jessie Install Java 8 in debian Jessie linux linux

Install Java 8 in debian Jessie


At the end i solved it adding jessie backports to the sources.list:

echo deb http://http.debian.net/debian jessie-backports main >> /etc/apt/sources.listapt-get update && apt-get install openjdk-8-jdkupdate-alternatives --config java


I ran the following commands from the webupd8 team and it worked for me: http://www.webupd8.org/2014/03/how-to-install-oracle-java-8-in-debian.html

su -echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | tee /etc/apt/sources.list.d/webupd8team-java.listecho "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | tee -a /etc/apt/sources.list.d/webupd8team-java.listapt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886apt-get updateapt-get install oracle-java8-installerexit


Same as @user2528085, you just need to add Debian backports to your sourcelist file.

Follow this instruction on Debian official sitehttps://backports.debian.org/Instructions/

Run these commands in shell:

echo "deb http://ftp.debian.org/debian jessie-backports main" | sudo tee -a /etc/apt/sources.list.d/jessie-backports.listsudo apt-get update && sudo apt-get install elasticsearch

Nothing difficult