Java8
Java8 provides centralized management to help you upgrade, manage JDK 7, or view the status and version of Java on your Synology NAS. After installation, OpenJDK will be used by default. To increase compatibility and performance, Java8 also provides an interface to upload Oracle JDK.
Upload Oracle JDK
Oracle JDK has a better compatibility with applications using older APIs. It also gives better performance on Synology NAS servers running on ARM. To upload 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.