Update to Java 8 on Debian 8
Solution to update java 8 on Debian 8:
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee /etc/apt/sources.list.d/webupd8team-java.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list
apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys EEA14886
apt-get update
apt-get install oracle-java8-installer
To see the result type:
root@unifi:~# java -version
java version "1.8.0_201"
Java(TM) SE Runtime Environment (build 1.8.0_201-b09)
Java HotSpot(TM) 64-Bit Server VM (build 25.201-b09, mixed mode)
If you fail with this howto try this: https://www.digitalocean.com/community/tutorials/how-to-install-java-with-apt-get-on-debian-8
Enjoy !
Posted from my blog with SteemPress : http://blog.rhce.ro/update-to-java-8-on-debian-8/