Open kgoderis opened 1 year ago
The wrapper is a Karaf dependency and it seems like it cannot be updated due to licensing issues.
See: KARAF-2734, KARAF-5853
Version 3.2.3 is also the most recent version on Maven Central:
https://central.sonatype.com/artifact/tanukisoft/wrapper/3.2.3/versions
When doing an out of the box installation on an Apple arm64 based system, it seems that
openhab> install-service
goes wrong. In addition to https://github.com/openhab/openhab-distro/issues/238 and https://github.com/openhab/openhab-distro/issues/401 it seems that the libwrapper.jnilib in %KARAF_HOME%/lib/wrapper/ is in fact a x86 library.This can be solved by installing https://download.tanukisoftware.com/wrapper/3.5.53/wrapper-macosx-arm-64-3.5.53.pkg and then doing
sudo cp /usr/local/Cellar/wrapper/3.5.53/lib/libwrapper.dylib /opt/openhab/runtime/lib/wrapper
which yields
It therefore seems that the openHAB distro needs an upgrade of Java Wrapper, as 3.2.3 is very ancient and does not support the newer arm64 architecture