01-30-2017, 08:34 AM
(01-08-2017, 03:40 PM)umiddelb Wrote: There are some issues when using the 64bit JDK for aarch64 (most notably severe JDK performance degrade and non existing 64bit libraries), so the openHAB packaging is based on a 32bit JDK.
These are the steps we took last year to get a working 32bit Java environment on Ubuntu:
Code:sudo apt install oracle-java8-installer
sudo dpkg --add-architecture armhf
# get the 32bit arm JDK, see http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html
sudo tar -C /usr/lib/jvm -xzvf ...<path to the archive>
cd /usr/lib/jvm
sudo mv jdk1.8.0_91 jdk1.8.0_91.armhf
sudo mv java-8-oracle jdk1.8.0_91.arm64
sudo ln -s jdk1.8.0_91.armhf java-8-oracle
# this is only for getting a 32bit glibc, etc. shared library
sudo apt-get install iperf:armhf
Kai mentioned that he had problems using his ZWave stick with Debian ...
There should be no need to add the armhf architecture and all that. I dropped the 32bit oracle jvm directly onto a armbian build and ran update-alternatives to completel install.
Something like this: http://askubuntu.com/questions/56104/how...5960#55960.
openhab2 runs great, just don't forget to give your openhab user permissions to the devices yiou need to use (i.e. tty).