Lucian Covaci avatar

Update to Java 8 on Debian 8

luciancovaci

Published: 09 Apr 2019 › Updated: 09 Apr 2019Update to Java 8 on Debian 8

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/

Leave Update to Java 8 on Debian 8 to:

Written by

Linux, News, Story, Blog

Read more #debian posts


Best Posts From Lucian Covaci

We have not curated any of luciancovaci's posts yet. But you can encourage our curation team to review posts by visiting them regularly and by referring other readers. Because we give priority to frequently read content.

More Posts From Lucian Covaci