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

Thanks Victor!

According to java -version I have the following version installed:

java version "1.8.0_65"
Java™ SE Runtime Environment (build 1.8.0_65-b17)
Java HotSpot™ Client VM (build 25.65-b01, mixed mode)

I don’t remember exactly how I installed it, but I assume it was via apt-get. So I thought this will be automatically updated with apt-get update && apt-get upgrade. Isn’t this the newest version? And if not, how can it be manually updated?

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 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:

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 xenial main" | tee /etc/apt/sources.list.d/webupd8team-java.list
echo "deb-src xenial main" | tee -a /etc/apt/sources.list.d/webupd8team-java.list
apt-key adv --keyserver hkp:// --recv-keys EEA14886
apt-get update
apt-get install oracle-java8-installer

After rebooting my.openhab started working again.


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

Hi Joe,

Thanks for the link, all up and working again.


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

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?