Del via


URLs for latest updates of LTS builds

These URLs are helpful for users who want to download the latest LTS builds of OpenJDK from inside shell scripts and other automation methods, for specific major versions of these builds.

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

For now we are publishing only the compressed archives and checksums for x64. If you have use cases for PKG/DEB/RPM/MSI installers, please let us know.

OpenJDK 21 LTS

Platform Architecture Type Link
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

Platform Architecture Type Link
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

Platform Architecture Type Link
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

Checksums

To download the respective checksum sha256 file for any of the packages above, append .sha256sum.txt to the URL.