LTS 組建最新更新的 URL
這些 URL 對於想要從殼層腳本和其他自動化方法下載 OpenJDK 最新 LTS 組建的使用者很有説明,適用於這些組建的特定主要版本。
Linux
curl -OL https://aka.ms/download-jdk/microsoft-jdk-21-linux-x64.tar.gz
macOS
curl -OL https://aka.ms/download-jdk/microsoft-jdk-21-macOS-x64.tar.gz
Windows
Invoke-WebRequest -Uri https://aka.ms/download-jdk/microsoft-jdk-21-windows-x64.zip
目前,我們只發行 x64 的壓縮封存和總和檢查碼。 如果您有 PKG/DEB/RPM/MSI 安裝程式的使用案例, 請告訴我們。
OpenJDK 21 LTS
平台 | 架構 | 類型 | 連結 |
---|---|---|---|
x64 | |||
Linux | x64 | tar.gz |
https://aka.ms/download-jdk/microsoft-jdk-21-linux-x64.tar.gz |
macOS | x64 | tar.gz |
https://aka.ms/download-jdk/microsoft-jdk-21-macOS-x64.tar.gz |
Windows | x64 | zip |
https://aka.ms/download-jdk/microsoft-jdk-21-windows-x64.zip |
Windows | x64 | msi |
https://aka.ms/download-jdk/microsoft-jdk-21-windows-x64.msi |
AArch64 | |||
Linux | AArch64 / ARM64 | tar.gz |
https://aka.ms/download-jdk/microsoft-jdk-21-linux-aarch64.tar.gz |
macOS | Apple Silicon | tar.gz |
https://aka.ms/download-jdk/microsoft-jdk-21-macOS-aarch64.tar.gz |
Windows | AArch64 / ARM64 | zip |
https://aka.ms/download-jdk/microsoft-jdk-21-windows-aarch64.zip |
Windows | AArch64 / ARM64 | msi |
https://aka.ms/download-jdk/microsoft-jdk-21-windows-aarch64.msi |
OpenJDK 17 LTS
平台 | 架構 | 類型 | 連結 |
---|---|---|---|
x64 | |||
Alpine | x64 (musl) | tar.gz |
https://aka.ms/download-jdk/microsoft-jdk-17-alpine-x64.tar.gz |
Linux | x64 | tar.gz |
https://aka.ms/download-jdk/microsoft-jdk-17-linux-x64.tar.gz |
macOS | x64 | tar.gz |
https://aka.ms/download-jdk/microsoft-jdk-17-macOS-x64.tar.gz |
Windows | x64 | zip |
https://aka.ms/download-jdk/microsoft-jdk-17-windows-x64.zip |
Windows | x64 | msi |
https://aka.ms/download-jdk/microsoft-jdk-17-windows-x64.msi |
AArch64 | |||
Linux | AArch64 / ARM64 | tar.gz |
https://aka.ms/download-jdk/microsoft-jdk-17-linux-aarch64.tar.gz |
macOS | Apple Silicon | tar.gz |
https://aka.ms/download-jdk/microsoft-jdk-17-macOS-aarch64.tar.gz |
Windows | AArch64 / ARM64 | zip |
https://aka.ms/download-jdk/microsoft-jdk-17-windows-aarch64.zip |
Windows | AArch64 / ARM64 | msi |
https://aka.ms/download-jdk/microsoft-jdk-17-windows-aarch64.msi |
OpenJDK 11 LTS
平台 | 架構 | 類型 | 連結 |
---|---|---|---|
x64 | |||
Alpine | x64 (musl) | tar.gz |
https://aka.ms/download-jdk/microsoft-jdk-11-alpine-x64.tar.gz |
Linux | x64 | tar.gz |
https://aka.ms/download-jdk/microsoft-jdk-11-linux-x64.tar.gz |
macOS | x64 | tar.gz |
https://aka.ms/download-jdk/microsoft-jdk-11-macOS-x64.tar.gz |
Windows | x64 | zip |
https://aka.ms/download-jdk/microsoft-jdk-11-windows-x64.zip |
Windows | x64 | msi |
https://aka.ms/download-jdk/microsoft-jdk-11-windows-x64.msi |
AArch64 | |||
Linux | AArch64 / ARM64 | tar.gz |
https://aka.ms/download-jdk/microsoft-jdk-11-linux-aarch64.tar.gz |
macOS | Apple Silicon | tar.gz |
https://aka.ms/download-jdk/microsoft-jdk-11-macOS-aarch64.tar.gz |
Windows | AArch64 / ARM64 | zip |
https://aka.ms/download-jdk/microsoft-jdk-11-windows-aarch64.zip |
Windows | AArch64 / ARM64 | msi |
https://aka.ms/download-jdk/microsoft-jdk-11-windows-aarch64.msi |
校驗
若要下載上述任何套件的個別總和檢查碼 sha256 檔案,請附加 .sha256sum.txt
至 URL。