Download the Microsoft Build of OpenJDK

This article provides links to download the Microsoft Build of OpenJDK.

For instructions on how to install using the graphical PKG and MSI installers, or through package managers WinGet, Homebrew, apt and yum, see the Install page.

The following tables provide links to the package files for GA releases, and their .sha256sum.txt and .sig files.

OpenJDK 21

OpenJDK 21.0.2 LTS | See previous releases

Platform Architecture Type Download link Other files
x64
Linux x64 tar.gz microsoft-jdk-21.0.2-linux-x64.tar.gz sha256 / sig
macOS x64 pkg microsoft-jdk-21.0.2-macos-x64.pkg sha256
macOS x64 tar.gz microsoft-jdk-21.0.2-macos-x64.tar.gz sha256 / sig
Windows x64 msi microsoft-jdk-21.0.2-windows-x64.msi sha256
Windows x64 zip microsoft-jdk-21.0.2-windows-x64.zip sha256 / sig
AArch64
Linux AArch64 / ARM64 tar.gz microsoft-jdk-21.0.2-linux-aarch64.tar.gz sha256 / sig
macOS AArch64 / M1 pkg microsoft-jdk-21.0.2-macos-aarch64.pkg sha256
macOS AArch64 / M1 tar.gz microsoft-jdk-21.0.2-macos-aarch64.tar.gz sha256 / sig
Windows AArch64 / ARM64 msi microsoft-jdk-21.0.2-windows-aarch64.msi sha256
Windows AArch64 / ARM64 zip microsoft-jdk-21.0.2-windows-aarch64.zip sha256 / sig

OpenJDK 17

OpenJDK 17.0.10 LTS | See previous releases

Platform Architecture Type Download link Other files
x64
Alpine x64 (musl) tar.gz microsoft-jdk-17.0.10-alpine-x64.tar.gz sha256 / sig
Linux x64 tar.gz microsoft-jdk-17.0.10-linux-x64.tar.gz sha256 / sig
macOS x64 pkg microsoft-jdk-17.0.10-macos-x64.pkg sha256
macOS x64 tar.gz microsoft-jdk-17.0.10-macos-x64.tar.gz sha256 / sig
Windows x64 msi microsoft-jdk-17.0.10-windows-x64.msi sha256
Windows x64 zip microsoft-jdk-17.0.10-windows-x64.zip sha256 / sig
AArch64
Linux AArch64 / ARM64 tar.gz microsoft-jdk-17.0.10-linux-aarch64.tar.gz sha256 / sig
macOS AArch64 / M1 pkg microsoft-jdk-17.0.10-macos-aarch64.pkg sha256
macOS AArch64 / M1 tar.gz microsoft-jdk-17.0.10-macos-aarch64.tar.gz sha256 / sig
Windows AArch64 / ARM64 msi microsoft-jdk-17.0.10-windows-aarch64.msi sha256
Windows AArch64 / ARM64 zip microsoft-jdk-17.0.10-windows-aarch64.zip sha256 / sig

OpenJDK 11

OpenJDK 11.0.22 LTS | See previous releases

Platform Architecture Type Download link Other files
x64
Alpine x64 (musl) tar.gz microsoft-jdk-11.0.22-alpine-x64.tar.gz sha256 / sig
Linux x64 tar.gz microsoft-jdk-11.0.22-linux-x64.tar.gz sha256 / sig
macOS x64 pkg microsoft-jdk-11.0.22-macos-x64.pkg sha256
macOS x64 tar.gz microsoft-jdk-11.0.22-macos-x64.tar.gz sha256 / sig
Windows x64 msi microsoft-jdk-11.0.22-windows-x64.msi sha256
Windows x64 zip microsoft-jdk-11.0.22-windows-x64.zip sha256 / sig
AArch64
Linux AArch64 / ARM64 tar.gz microsoft-jdk-11.0.22-linux-aarch64.tar.gz sha256 / sig
macOS AArch64 / M1 pkg microsoft-jdk-11.0.22-macos-aarch64.pkg sha256
macOS AArch64 / M1 tar.gz microsoft-jdk-11.0.22-macos-aarch64.tar.gz sha256 / sig
Windows AArch64 / ARM64 msi microsoft-jdk-11.0.22-windows-aarch64.msi sha256
Windows AArch64 / ARM64 zip microsoft-jdk-11.0.22-windows-aarch64.zip sha256 / sig

OpenJDK 8

If you still require Java 8, please download any of the Eclipse Temurin builds of OpenJDK 8 from the Eclipse Adoptium project.

Linux DEB and RPM packages

Linux Packages (RPM and DEB files) are available at packages.microsoft.com.

For more information see Install the Microsoft Build of OpenJDK.

Container images

For use of Microsoft Build of OpenJDK in container images, see Container images for the Microsoft Build of OpenJDK.

Debug symbols and source code

The following tables provide links to the debug symbols of all platforms and architectures, and the source code.

OpenJDK 21.0.2 LTS

Platform Architecture Type Download link Other files
x64
Linux x64 tar.gz microsoft-jdk-debugsymbols-21.0.2-linux-x64.tar.gz sha256
macOS x64 tar.gz microsoft-jdk-debugsymbols-21.0.2-macos-x64.tar.gz sha256
Windows x64 zip microsoft-jdk-debugsymbols-21.0.2-windows-x64.zip sha256
AArch64
Linux AArch64 / ARM64 tar.gz microsoft-jdk-debugsymbols-21.0.2-linux-aarch64.tar.gz sha256
macOS AArch64 / M1 tar.gz microsoft-jdk-debugsymbols-21.0.2-macos-aarch64.tar.gz sha256
Windows AArch64 / ARM64 zip microsoft-jdk-debugsymbols-21.0.2-windows-aarch64.zip sha256
All
Source Code NA tar.gz microsoft-sources-21.0.2_13-all-noarch.tar.gz sha256

OpenJDK 17.0.10 LTS

Platform Architecture Type Download link Other files
x64
Alpine x64 (musl) tar.gz microsoft-jdk-debugsymbols-17.0.10-alpine-x64.tar.gz sha256
Linux x64 tar.gz microsoft-jdk-debugsymbols-17.0.10-linux-x64.tar.gz sha256
macOS x64 tar.gz microsoft-jdk-debugsymbols-17.0.10-macos-x64.tar.gz sha256
Windows x64 zip microsoft-jdk-debugsymbols-17.0.10-windows-x64.zip sha256
AArch64
Linux AArch64 / ARM64 tar.gz microsoft-jdk-debugsymbols-17.0.10-linux-aarch64.tar.gz sha256
macOS AArch64 / M1 tar.gz microsoft-jdk-debugsymbols-17.0.10-macos-aarch64.tar.gz sha256
Windows AArch64 / ARM64 zip microsoft-jdk-debugsymbols-17.0.10-windows-aarch64.zip sha256
All
Source Code NA tar.gz microsoft-sources-17.0.10_7-all-noarch.tar.gz sha256

OpenJDK 11.0.22 LTS

Platform Architecture Type Download link Other files
x64
Alpine x64 (musl) tar.gz microsoft-jdk-debugsymbols-11.0.22-alpine-x64.tar.gz sha256
Linux x64 tar.gz microsoft-jdk-debugsymbols-11.0.22-linux-x64.tar.gz sha256
macOS x64 tar.gz microsoft-jdk-debugsymbols-11.0.22-macos-x64.tar.gz sha256
Windows x64 zip microsoft-jdk-debugsymbols-11.0.22-windows-x64.zip sha256
AArch64
Linux AArch64 / ARM64 tar.gz microsoft-jdk-debugsymbols-11.0.22-linux-aarch64.tar.gz sha256
macOS AArch64 / M1 tar.gz microsoft-jdk-debugsymbols-11.0.22-macos-aarch64.tar.gz sha256
Windows AArch64 / ARM64 zip microsoft-jdk-debugsymbols-11.0.22-windows-aarch64.zip sha256
All
Source Code NA tar.gz microsoft-sources-11.0.22_7-all-noarch.tar.gz sha256

Public key to verify signature files

To verify the .sig files, download and use the public key.

URLs for major versions only

Developers can also obtain the latest packages of an LTS release by using URLs without the specific minor version. For example, the following URLs will download the latest version of OpenJDK 21:

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 a complete list of available URLs and versions, see this page.

Previous releases

This page only lists the latest updates available. To download older releases, visit this document.

Provide feedback on the Microsoft Build of OpenJDK

Send us your comments, thoughts, and ideas to help us improve the Microsoft Build of OpenJDK. Visit our OpenJDK discussions page on GitHub to send us your feedback.

Java and OpenJDK are trademarks or registered trademarks of Oracle and/or its affiliates.