LTS 内部版本最新更新的 URL
对于想要从 shell 脚本和其他自动化方法下载 OpenJDK 的最新 LTS 版本的用户,这些内部版本的特定主版本的 URL 非常有用。
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 安装程序的用例,请告诉我们。
平台 | 体系结构 | 类型 | 链接 |
---|---|---|---|
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 |
平台 | 体系结构 | 类型 | 链接 |
---|---|---|---|
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 |
平台 | 体系结构 | 类型 | 链接 |
---|---|---|---|
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。