openHABian hassle-free openHAB Setup

@Stephen_F Thanks for pointing that out. I have updated the install script but it’s not working just now. I’ll have to look into that at the beginning of next week.
Till then, please execute the following commands to switch over:

sudo su

systemctl stop openhab2.service
apt purge oracle-java8-jdk

cat <<EOT >> /etc/apt/sources.list.d/webupd8team-java.list
deb http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
deb-src http://ppa.launchpad.net/webupd8team/java/ubuntu trusty main
EOT

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

apt update
apt -y install oracle-java8-installer
apt -y install oracle-java8-set-default

systemctl start openhab2.service
1 Like