My.openHAB connectio Failed

AWEOME Thanks - this Java update did the trick!!! Appreciate it very much!

NOTE OF CAUTION In my haste to just copy and paste I did not realize that:

  1. The “echo” lines word wrapped and were one long line and not two commands

  2. The “echo” line had a click count embedded in the copied text (the number in the circle after the ppa link and before “xenial”) - this copy and paste caused the initial java8 installer to fail with bad info passed into source list. I simply edited the sources list and removed the number.

Obvious mistakes but may catch some new users offguard!

Here is the same text but without the word wrap or active hyper links:

sudo su
echo "deb http://ppa.launchpad.net/webupd8team/java/ubuntu xenial main" | tee /etc/apt/sources.list.d/webupd8team-java.list
echo "deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu xenial 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
Exit