On Fri, 3 Feb 2017 23:11:51 +0100 DJDavid98 <djdavi...@gmail.com> wrote:
> For anyone else having issues with installing Java 8 now, I managed to get
> back up and running by using Oracle's official version of Java.
>
> €‹For convenience here's a list of commands one has to run to get Java 8
> working on their Debian Jessie machine​ (until this issue gets
resolved):
>
>
​​
echo -e "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial
> main\ndeb-src http://ppa.launchpad.net/webupd8team/java/ubuntu xenial
main"
> > /etc/apt/sources.list.d/webupd8team-java.list
> sudo apt-get update
> sudo apt-get install oracle-java8-installer
> echo "JAVA_HOME=\"/usr/lib/jvm/java-8-oracle\"" > /etc/environment
> source /etc/environment

​Also you'll need this line (which I forgot to add) before​ you try to do
apt-get update:

apt-key adv --keyserver hkp://keyserver.ubuntu.com:80
<http://keyserver.ubuntu.com/> --recv-keys EEA14886

And possibly sudo in front of most commands listed.

Reply via email to