01-08-2017, 03:40 PM
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:
Kai mentioned that he had problems using his ZWave stick with Debian ...
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 ...