Synology DSM package for installing the latest Oracle Java binaries on Synology NAS devices.
Add the following Package Source to Synology DSM ► Package Center ► Settings ► Package Sources:
On install, the package will download the latest OpenJDK (250 MB) for your platform. This may take a while.
The get-java.sh shell script should work on any Linux device:
# Download the latest JDK into the current directory & link java to /usr/local/bin
curl -O https://raw.githubusercontent.com/rednoah/java-installer/latest/release/get-java.sh
sh get-java.sh install
The get-java.ps1 PowerShell script requires Windows 8 or higher:
Invoke-WebRequest https://raw.githubusercontent.com/rednoah/java-installer/latest/release/get-java.ps1 -OutFile get-java.ps1 -UseBasicParsing
powershell -File get-java.ps1 installThe script uses 7z to extract the *.tar.gz archive, but it will not modify JAVA_HOME or the PATH.
- Linux ARM v6/v7 Hard Float ABI (
armv7l) - Linux ARM v8 Hard Float ABI (
armv8) - Linux x86 (
i686) - Linux x64 (
x86_64) - Windows x86 (
x86) - Windows x64 (
AMD64) - macOS x64(
x86_64)