October 1, 2017, 4:22pm
I have an issue when I try to install java Zulu on my Odroid C2 on armbian mainline:
dpkg --add-architecture armhf
apt-get install libc6:armhf libncurses5:armhf libstdc++6:armhf
unzip the tar.gz to /usr/lib/jvm
I am stuck and don’t know wha to look for now
October 2, 2017, 10:17am
@yaazzz, do the instructions on this page help? It mentions RPi 3, but the steps should be the same.
[Topic updated on 02/May/2017 to include Zulu Linux APT Repositories]
To run openHAB 2 (OH2) on a Raspberry Pi 3 (rPi3) with the standard Raspbian image, you need a working Java Runtime Environment installed on your system.
The recommended Java platform for OH2 for ARM is:
Zulu Embedded (see: http://docs.openhab.org/installation/index.html#prerequisites)
A. Login into your rPi3, switch to root, import Azul's public key and attach the Azul APT repository. C…
October 2, 2017, 7:08pm
Well, I installed openhabian script and go through all the installation process.
I tried to follow also the process described for RPi3 but still having this … … error message.
October 5, 2017, 6:20pm
I solved the issue by installing the openjdk:armhf. I think the zulu .deb is broken.
October 5, 2017, 6:35pm
I’m currently running Zulu on a pi so it maybe an arm64 specific issue.
I’m glad you have it working however.
October 5, 2017, 6:38pm
Thank you Benji for you feedback. It is simple to switch from one java version to another one so as soon as we will have an update of the zulu package I will make it a try and post if it is working.
Could you elaborate how you solved this? I’ve been struggling for a while getting openhab running on my rock64 running arm64. First I tried the webupd8 installer for Oracle Java (which I used on my old openhab erver) but it only installs the 64 bit Java which doesn’t seem to work well with OH. Tried installing Zulu according to @Dim’s guide but it only tells me that the repository doesn’t support architecture arm64.
I thought arm64 shouldn’t be really that uncommon, but getting OH to run on it is really a struggle…
April 30, 2018, 6:41am
it seems that this repo does not contain the 64bit version of Zulu for ARM
I found these instructions for manual installation that may help: https://www.azul.com/downloads/zulu/zulu-download-arm/
Thanks. Before I proceed though: Is it a good idea to run 64-bit Java? Or would OH work better if I install 32-bit Java? For example I never got Tellstick binding to work with 64-bit Oracle Java
https://docs.openhab.org/installation/ I read:
Please use the 32-bit version of the JVM for ARM platforms, even on 64-bit operating systems. Serial connections won’t work with a 64-bit JVM, preventing bindings like Z-Wave from functioning.
Is this still valid? If so I guess I need to install 32 bit Zulu. Still not clear on how to do that though
August 8, 2018, 1:59pm
If u still need help I wrote a how to here
For those that are not familiar with the Odroid C2, it is similar to the PI3 with the advantages that it has double the ram, true 1000mbps network, and more than twice the CPU grunt. I opted to not purchase the Odroid XU4 (which is more powerful yet again) due to there being some reported issues with JVM running on the big/little cores which some people have reported and may have solved here.
The C2 is also one of …
Thanks! I gave up my attempts though, too much stuff that didn’t work out in a 64 bit arm environment. So now my OH is on another (pure 32 bits) server instead.