This repository maintains packages for installing the latest OpenJDK binaries on Synology NAS and QNAP NAS.
Add the following Package Source to Synology DSM ► Package Center ► Settings ► Package Sources:
https://get.filebot.net/syno/
Add the following App Repository to QNAP QTS ► App Center ► Settings ► App Repository ► Add:
https://get.filebot.net/qnap/index.xml
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 install
The script uses 7z
to extract the *.tar.gz
archive, but it will not modify JAVA_HOME
or the PATH
.
- Linux (
x86_64
,aarch64
,armv7l
,i686
,ppc64le
) - Windows (
x86_64
,x86
) - macOS (
x86_64
,arm64
)