openhab / openhab-syno-spk

openHAB Synology SPK Install Package
Eclipse Public License 2.0
161 stars 42 forks source link

openhab3 for older Synology NAS #185

Open locamand opened 3 years ago

locamand commented 3 years ago

Hello, Is there a chance to get running the 3.0 version on a Java 8.0 Synology NAS like the DS216j where Docker is not working? Thanks a lot.

anste commented 3 years ago

I got it to work on a DS114 by uninstalling the Java 8 package and installing the Azul ZuluJDK 11 manually. Adopt OpenJDK didn't work for me.

ok-qt20 commented 3 years ago

could you please give a manual to install the Azul ZuluJDK 11 manually to a DS? I got a DS216J

anste commented 3 years ago

In my case I downloaded ZuluJDK for ARM 32-bit HF (HF since DSM 6). Then I connected via SSH (root) and copied the extracted files to /var/packages/Java11. Lastly i adjusted javahome and path in etc/profile so that they point to the new JDK.

java -version should now show the correct version.

ok-qt20 commented 3 years ago

Many Thanks, works!

westerbur2020 commented 3 years ago

Thanks, I was able to install Java11. Further I tried to install openHAB 3.0 but without success "failed, stopped service".