openHAB is offline message [fixed]

Hi Malek,

I am running CentOS but have a Raspberry pi with ubuntu as well
I am a bit of a newbie so guess there are easier way’s to do it.

  • Got to the Java Direcotry

gfvpelt@raspberrypi:/usr/lib/jvm $ pwd
/usr/lib/jvm

*download Java

sudo wget --no-check-certificate --no-cookies --header “Cookie: oraclelicense=accept-securebackup-cookie” http://download.oracle.com/otn-pub/java/jdk/8u111-b14/jdk-8u111-linux-arm32-vfp-hflt.tar.gz

*extract the download

sudo tar zxvf jdk-8u111-linux-arm64-vfp-hflt.tar.gz

  • test if the new download works
    ./jdk1.8.0_111/bin/java -version

should show the new java version

  • Then point the logic link to the new java version
    sudo rm /etc/alternatives/java
    sudo ln -s /usr/lib/jvm/jdk1.8.0_111/bin/java /etc/alternatives/java

java -version should now also show the new version

Regards
Gerrit