My.openhab.org is online // iOS app doesn't show sitemap -> Solution: Java update!

Got it updated to 1.8.0_101-b13 and now it seems to work again. I still get some weird java error in my log, but this seems to be because of an uninitialized item.

I just pushed an e-mail to all my.openHAB users describing the problem and possible ways to sort it out. You can either upgrade to the latest 1.8 or add letsencrypt.org certs to Java keystore manually using keytool.

Hi Stefan,

How did you finally get the update?

@Roy, I followed the instructions at the link below and now it works on my RPi 2.

1 Like

I simply installed the newest version according to Udo’s posting (#20) in this thread:

https://community.openhab.org/t/java-version-1-8-required-still-wont-start/10762/19

I did -almost- the same, but used the WebUpd8 installer in @Udo_Hartmann link to get automated java updates in the future (I wasn’t aware that this is not done automatically through apt-get update/upgrade on a Raspbian Jessie installation on a Raspberry Pi), but you have to make a slight change to the tutorial: instead of su - use sudo su:

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

After rebooting my.openhab started working again.

15 Likes

Yes, in my case too a reboot was necessary, thanks.

Hi Joe,

Thanks for the link, all up and working again.

roy

hey there
i had java 1.8.0 on my pi2 before already
but still my.openhab stays offline :frowning:

When you put java -version in to the terminal what version is it saying you have?

pi@raspberrypi ~ $ java -version
java version "1.8.0"
Java™ SE Runtime Environment (build 1.8.0-b132)
Java HotSpot™ Client VM (build 25.0-b70, mixed mode)
pi@raspberrypi ~ $ javac -version
javac 1.8.0
pi@raspberrypi ~ $

You should use the instructions at the link I posted above. Those instructions will update you to 1.8.0_101-b13 (you’re currently at 1.80-b132),

I believe that’s an outdated version. Try using the WebUpd8 installer that @sihui posted.

and then reboot and you should be good to go.

Either way works. They both get you to 1.8.0_101.

Hi, same problem. I’m running Openhab on a Mac.

I have updated Java as per normal Mac reminders, and get the following when I run ‘java -version’:

java version "1.8.0_102" Java(TM) SE Runtime Environment (build 1.8.0_102-b14) Java HotSpot(TM) 64-Bit Server VM (build 25.102-b14, mixed mode)

I also downloaded JDK 1.8 from Oracle site and installed it, and I rebooted the Mac. But my iOS app can still not get the sitemap remotely, where it was working previously. I can get it on the same phone if I go to http://my.openhab.org/openhab.app.

Any ideas for Mac?

I think it is the iPhone app, because I have the same issue and my OpenHab is on a Windows box. After I updated Java it works on the browser but the app still fails.

Does it work if you select “ignore SSL certificates” in the settings of the iOS app?

Same issue here, Java update fixed it. Thanks!

I just updated Java according to the WebUpd8 method.
But now my IHC binding dosen’t work :frowning2:
Anybody how can guide me how to remove the newest java version again?

I found the app was working on my iPad, not on my iPhone. I tried “Ignore SSL certificates” and “Clear cache” with no luck.

I deleted the app on my iphone, reinstalled it and now it works.