Synology DiskStation

Prerequisite - Install Java

Current releases of openHAB require Oracle Java due to the generation of certificates based on EC which is not available in free Java implementations.
If you see the following error you are likely using OpenJDK:

java.security.NoSuchAlgorithmException: EC KeyPairGenerator not available

The easiest way to install Java is to install the Synology Java8 package from Package Center.
After installation, OpenJDK will be used by default and must be upgraded.
To update Oracle JDK to Java8, click the Install Java / Upgrade Java button and then follow the onscreen instructions.
The filename and format of the uploaded file will be checked before installation.

Armada 370/XP systems running DSM 6 require hard float ABI rather than the soft float used on DSM 5.
If there is not a Java8 package in the Package Center, your machine may not be supported by the Synology package.