Download Microsoft Build of OpenJDK 21 21.0.13.102

Safe

Developer: Microsoft

Last updated: · Verified by Built Everyversion after working at Softonic. Runs the checks and answers for the results. ClaudeAnthropic’s AI. Runs the download, checksum and signature checks and reports every result. VirusTotalScans files with dozens of security engines. We look up each file by its SHA-256 only.

The Microsoft Build of OpenJDK is a new no-cost long-term supported distribution and Microsoft's new way to collaborate and contribute to the Java ecosystem.

Windows 21.0.13.102

Windows x64 (64-bit) installer
MSI (WiX) · All users
Show SHA-256
b558c8b7e559eeaf195489c2557abd779c72d72d72ce4e120335bdf2ffbd4580
Download
Windows ARM64 installer
MSI (WiX) · All users
Show SHA-256
306f386d683d7e593bc399f9541542d9b7f18a5168d43717777d6528d920bc64
Download

Mac 21.0.13.1

Mac Intel (x64) installer package
PKG
Show SHA-256
d9b8bb46d05c7c228f74b02c4ea45697da13f76841c09df12fa2a1365c1a7171
Download
Mac Apple silicon (ARM64) installer package
PKG
Show SHA-256
d2f673fbc9ff6223d466948fc5b6f30c46747a2e60a3d4021cf412e1fb1f2cbd
Download

Choose the x64 (64-bit) installer for Intel or AMD PCs and the ARM64 installer for ARM PCs. Every build needs Windows 10 or later. Choose the Apple silicon (ARM64) build for Macs with an M-series chip and the Intel (x64) build for older Intel Macs. The Homebrew cask states no minimum macOS version, so check the publisher’s system requirements before installing on an older Mac.

Install with winget: winget install --id Microsoft.OpenJDK.21 --exact

Install with Homebrew: brew install --cask microsoft-openjdk@21

Check a download: Get-FileHash .\<file> -Algorithm SHA256 (PowerShell) or shasum -a 256 ~/Downloads/<file> (Terminal) and compare it with the SHA-256 above.

Read the license.


What the installer does

Windows

  • Delivered as a Windows Installer package built with WiX (.msi) for x64 and ARM64.
  • Installs for all users on the PC, which normally requires administrator rights.
  • The installer asks Windows for administrator rights itself.
  • No custom silent switch is declared; winget falls back to its default for this installer type (/quiet /norestart).
  • Declared install modes: interactive, silent, and silentWithProgress.
  • Shows up in Windows “Installed apps” as “Microsoft Build of OpenJDK 21.0.13.1+2 (x64)” and “Microsoft Build of OpenJDK 21.0.13.1+2 (arm64)”.
  • Upgrades remove the previous version first.

PC requirements

  • Minimum Windows version: Windows 10 (10.0.0.0) or later
  • CPU architecture: x64 (64-bit), ARM64

Mac

  • Delivered as a macOS installer package (.pkg) for Intel (x64) and Apple silicon (ARM64).
  • Runs the installer package microsoft-jdk-21.0.13.1-macos-aarch64.pkg; package installers usually ask for an administrator password and can place files anywhere on the system.
  • On uninstall, Homebrew forgets installer package receipts.
  • A full “zap” removal also deletes up to 2 support, cache and preference locations in your home folder.

Mac requirements

  • CPU architecture: Intel (x64), Apple silicon (ARM64)

Description

The Microsoft Build of OpenJDK is a new no-cost long-term supported distribution and Microsoft's new way to collaborate and contribute to the Java ecosystem.

Best for: Java developers and ops teams who need a free, TCK-tested Java 21 with a published support date, especially those already running workloads on Azure.

Features

  • Free OpenJDK, tested against the spec: It is OpenJDK built and packaged by Microsoft under GPLv2 with the Classpath Exception. The LTS builds pass the Java TCK, so it works as a drop-in replacement for other OpenJDK builds. No license fee and no sign-up.
  • Java 21 is covered to September 2028: Microsoft gives September 2028 as the earliest end of support for its Java 21 builds. Updates ship every quarter, in January, April, July and October. Java 25 is also out, with support targeted to September 2030.
  • Paid support only on Azure: Commercial support is for Azure customers with an Azure support plan, and only for Java running on Azure, Azure Stack or Azure Arc. Everyone else gets community help through Microsoft's OpenJDK repository on GitHub.
  • May differ slightly from upstream: Microsoft can add fixes that are not yet in upstream OpenJDK. Its release notes flag these, and the source code is published.
  • Formats for each system: Windows gets .exe, .msi and .zip builds; macOS gets .pkg and .tar.gz; Linux gets .tar.gz plus .deb and .rpm packages from packages.microsoft.com. All come for x64 and Arm64. There is no Alpine musl build for Java 21, unlike 11 and 17.
  • What this page lists: Here you get machine-wide Windows installers for x64 and Arm64, and macOS .pkg files for Intel and Apple silicon. The Windows listing keeps 16 versions; macOS lists only the current release, so older Mac builds need another source.
  • No Java 8 from Microsoft: If you still need Java 8, Microsoft points you to Eclipse Temurin builds instead.

Microsoft Build of OpenJDK 21 at a glance

What it isThe Microsoft Build of OpenJDK is a new no-cost long-term supported distribution and Microsoft's new way to collaborate and contribute to the Java ecosystem.
Latest versionWindows 21.0.13.102
Mac 21.0.13.1
PriceFree and open source
Open sourceYes
LicenseGPL2 with Classpath Exception
License typeOpen source · Strong copyleft Software built on it must be shared under the same license.
Made byMicrosoft
CategoryDeveloper tools and runtimes
Runs onWindows, Mac
Official websitemicrosoft.com
More linksSupport · Privacy policy
Tags21 java microsoft-openjdk openjdk
winget IDMicrosoft.OpenJDK.21
Homebrew caskmicrosoft-openjdk@21
winget monikerms-openjdk-21
Check your downloadSHA-256 checksums in the download tables · Security scan

Is Microsoft Build of OpenJDK 21 safe?

Score result: Clean

None of the 46 security engines on VirusTotal flagged any of the 4 scanned files.

  • 0 flagged in total
  • 4 of 4 files scanned
  • 46 engines
Scanned with VirusTotalScore = share of engines that did not flag the lowest-scoring file. 100 means none flagged. How we score

Scan info

Last scan
Scan provider
VirusTotal · Full report

File integrity

FileSHA-256Hash checkSignatureVirusTotal
microsoft-jdk-21.0.13.1-windows-x64.msiWindows · x64 (64-bit) b558c8b7e559eeaf195489c2557abd779c72d72d72ce4e120335bdf2ffbd4580 Matches the manifest (re-computed) Valid 0/46 flagged
microsoft-jdk-21.0.13.1-windows-aarch64.msiWindows · ARM64 306f386d683d7e593bc399f9541542d9b7f18a5168d43717777d6528d920bc64 Matches the manifest (re-computed) Valid 0/47 flagged
microsoft-jdk-21.0.13.0.2-macos-x64.pkgMac · Intel (x64) d9b8bb46d05c7c228f74b02c4ea45697da13f76841c09df12fa2a1365c1a7171 Matches the manifest (re-computed) Not signed 0/51 flagged
microsoft-jdk-21.0.13.1-macos-aarch64.pkgMac · Apple silicon (ARM64) d2f673fbc9ff6223d466948fc5b6f30c46747a2e60a3d4021cf412e1fb1f2cbd Matches the manifest (re-computed) Not signed 0/44 flagged
Hash re-computed by Everyversion4 of 4 installers match.
Code signature checked2 valid, 2 unsigned.
Everyversion security commitment

We host no installers. Every download link goes to the download location named in the package listing, normally the publisher’s own server. For this software we downloaded the files from that source ourselves, re-computed each checksum and checked the code signature where our tools could, as shown above. A passing check shows a file is the one that was published; it is not a guarantee it is free of problems. For more information, visit our Security and Trust Center.

Source and provenance
Windows: sourcemicrosoft/winget-pkgs
Windows: SHA-256 in upstream manifestYes
Windows: observed at commitc45680c8bf65 · retrieved 2026-11-21
Mac: sourceHomebrew/homebrew-cask
Mac: SHA-256 in upstream manifestYes
Mac: observed at commit80d0140d66da · retrieved 2026-11-21

Old versions

Windows versions

16 versions listed. Open a version for its installers, checksums and a command that pins it.

21.0.13.102 latest · 2 installers
ArchitectureFormatScopeSHA-256Download
x64 (64-bit) MSI (WiX) All users b558c8b7e559eeaf195489c2557abd779c72d72d72ce4e120335bdf2ffbd4580 Download
ARM64 MSI (WiX) All users 306f386d683d7e593bc399f9541542d9b7f18a5168d43717777d6528d920bc64 Download

Pin this version: winget install --id Microsoft.OpenJDK.21 --version 21.0.13.102 --exact

Manifest: manifests/m/Microsoft/OpenJDK/21/21.0.13.102

21.0.13.21 · 2 installers
ArchitectureFormatScopeSHA-256Download
x64 (64-bit) MSI (WiX) All users 7a6700302e6079708a4596f8f84ff9d73516cda6ae6da91024063ac7c2a196e8 Download
ARM64 MSI (WiX) All users ef0ba3a0e10a0abf2e8f072e9c741b4c9331067f351f27a1360df0b77ead11ec Download

Pin this version: winget install --id Microsoft.OpenJDK.21 --version 21.0.13.21 --exact

Manifest: manifests/m/Microsoft/OpenJDK/21/21.0.13.21

21.0.12.101 · 2 installers
ArchitectureFormatScopeSHA-256Download
x64 (64-bit) MSI (WiX) All users 3a3f7e1a9fd9edd1fcc0545ffbe7dc87787a8417dc1bf303e41c7a697c8490c1 Download
ARM64 MSI (WiX) All users 9680ea11e52fea7ce29ccbd4d0559a325e848f95fb1a73c4d5e1bc7e66943890 Download

Pin this version: winget install --id Microsoft.OpenJDK.21 --version 21.0.12.101 --exact

Manifest: manifests/m/Microsoft/OpenJDK/21/21.0.12.101

21.0.12.8 · 2 installers
ArchitectureFormatScopeSHA-256Download
x64 (64-bit) MSI (WiX) All users 96ee22a4863c1b6f92ff3c8af0f8dab4a7dffc210440b1641950d9001d0e23ed Download
ARM64 MSI (WiX) All users 00b5888d71cbd1e5762e4266ba56046869be1f78d1b5d36485c9a3d94f5c4a55 Download

Pin this version: winget install --id Microsoft.OpenJDK.21 --version 21.0.12.8 --exact

Manifest: manifests/m/Microsoft/OpenJDK/21/21.0.12.8

21.0.11.10 · 2 installers
ArchitectureFormatScopeSHA-256Download
x64 (64-bit) MSI (WiX) All users 3334d53bdda197c85485d345075af98f1e31b0ca210a116d058ab67019f10f0f Download
ARM64 MSI (WiX) All users d0708f32b318275f08b26747b3f58f2010a061294ea0138ab2712b0625734809 Download

Pin this version: winget install --id Microsoft.OpenJDK.21 --version 21.0.11.10 --exact

Manifest: manifests/m/Microsoft/OpenJDK/21/21.0.11.10

21.0.10.7 · 2 installers
ArchitectureFormatScopeSHA-256Download
x64 (64-bit) MSI (WiX) All users 04faba574386c38769d512304fb8512dbd4e1faeeba29348301197e65b21eae7 Download
ARM64 MSI (WiX) All users 718e83425ab86c49118d503d5456809688c1e708221b1d12069cfd4e513660aa Download

Pin this version: winget install --id Microsoft.OpenJDK.21 --version 21.0.10.7 --exact

Manifest: manifests/m/Microsoft/OpenJDK/21/21.0.10.7

21.0.9.10 · 2 installers
ArchitectureFormatScopeSHA-256Download
x64 (64-bit) MSI (WiX) All usersen-US 54185977a1f3e3b9aba0084db998484da1f0abf31857b2335eb460364b4d30c3 Download
ARM64 MSI (WiX) All usersen-US 9d496645d88cc1cd99895906fed10e649496f51ae0615075007c160bff7dac65 Download

Pin this version: winget install --id Microsoft.OpenJDK.21 --version 21.0.9.10 --exact

Manifest: manifests/m/Microsoft/OpenJDK/21/21.0.9.10

21.0.9 · 1 installer
ArchitectureFormatScopeSHA-256Download
x64 (64-bit) MSI (WiX) All usersen-US 54185977a1f3e3b9aba0084db998484da1f0abf31857b2335eb460364b4d30c3 Download

Pin this version: winget install --id Microsoft.OpenJDK.21 --version 21.0.9 --exact

Manifest: manifests/m/Microsoft/OpenJDK/21/21.0.9

21.0.7.6 · 2 installers
ArchitectureFormatScopeSHA-256Download
x64 (64-bit) MSI (WiX) All users d166a7049b24c53aaa51f0669cf446bc9ce9f9edb4079366a1c3ef795d44d594 Download
ARM64 MSI (WiX) All users 908aa09e376c55d44832f3faa1990e00c4558d464ba2fe490b89eaa0cdeaa19f Download

Pin this version: winget install --id Microsoft.OpenJDK.21 --version 21.0.7.6 --exact

Manifest: manifests/m/Microsoft/OpenJDK/21/21.0.7.6

21.0.6.7 · 2 installers
ArchitectureFormatScopeSHA-256Download
x64 (64-bit) MSI (WiX) All users 5886c09e68ee2a8ebc0529aff76600d9644dce5190773d2ee01fea1e4636de57 Download
ARM64 MSI (WiX) All users 0b664aa355dcc8573795780e1488328a2a613eca566f9c4ef3c9471cf19fd82a Download

Pin this version: winget install --id Microsoft.OpenJDK.21 --version 21.0.6.7 --exact

Manifest: manifests/m/Microsoft/OpenJDK/21/21.0.6.7

21.0.5.11 · 2 installers
ArchitectureFormatScopeSHA-256Download
x64 (64-bit) MSI (WiX) All users dfdf76c109ea08ce34df0f616fbc6bead12b3342e3e4102409835690dbec899d Download
ARM64 MSI (WiX) All users 3c092b43c214d8d393e8d3b5369c23eb14a5646d6c2980762cb8261ffac107ea Download

Pin this version: winget install --id Microsoft.OpenJDK.21 --version 21.0.5.11 --exact

Manifest: manifests/m/Microsoft/OpenJDK/21/21.0.5.11

21.0.4.7 · 2 installers
ArchitectureFormatScopeSHA-256Download
x64 (64-bit) MSI (WiX) All users 8ea30d14b25436d517b29e4109c21587bef5ee4f01f46553a4db09fafc95cdb1 Download
ARM64 MSI (WiX) All users 6ec1e684dea72609ab9d7e81642dd3dd62addd6b688745ac2109b3c128690ebb Download

Pin this version: winget install --id Microsoft.OpenJDK.21 --version 21.0.4.7 --exact

Manifest: manifests/m/Microsoft/OpenJDK/21/21.0.4.7

21.0.3.9 · 2 installers
ArchitectureFormatScopeSHA-256Download
x64 (64-bit) MSI (WiX) All users c8d189ed4574d8ea4b1d11cab4f9cc58713a763acc7f31d182c218d9a8d327ee Download
ARM64 MSI (WiX) All users c7a2b60029fd0309d04a48f8636d9cf8fd3f08d23cd34f6b581d2a7f1d25856f Download

Pin this version: winget install --id Microsoft.OpenJDK.21 --version 21.0.3.9 --exact

Manifest: manifests/m/Microsoft/OpenJDK/21/21.0.3.9

21.0.2.13 · 2 installers
ArchitectureFormatScopeSHA-256Download
x64 (64-bit) MSI (WiX) All users 753c195bafc7481574f0e2ac07ae4b2929892933bfb84ba81d2d3f58ef1452c1 Download
ARM64 MSI (WiX) All users 0b22568ce42d047b23a17fa44b296c2da8a45deee8142084a0a15c3d028800c9 Download

Pin this version: winget install --id Microsoft.OpenJDK.21 --version 21.0.2.13 --exact

Manifest: manifests/m/Microsoft/OpenJDK/21/21.0.2.13

21.0.1.12 · 2 installers
ArchitectureFormatScopeSHA-256Download
x64 (64-bit) MSI (WiX) All users cd43d6a9ea87d3026a2dfacd0e970447ab027df121f2afa0e0e06d7724406866 Download
ARM64 MSI (WiX) All users 2367db0503f7c7417200efe97988c236c6bcb9ad199148db2003470f9ea11e25 Download

Pin this version: winget install --id Microsoft.OpenJDK.21 --version 21.0.1.12 --exact

Manifest: manifests/m/Microsoft/OpenJDK/21/21.0.1.12

21.0.0.35 · 2 installers
ArchitectureFormatScopeSHA-256Download
x64 (64-bit) MSI (WiX) All users dde134cc2aa99cfd46e6f0c44f00be131011a3ef0af6f99932c5e325d413691c Download
ARM64 MSI (WiX) All users 47875427607d91acab67a9dd29d4ecab8b1ba9e0e00e7f2bffd032bd76b2916a Download

Pin this version: winget install --id Microsoft.OpenJDK.21 --version 21.0.0.35 --exact

Manifest: manifests/m/Microsoft/OpenJDK/21/21.0.0.35

Mac versions

Homebrew casks list only the current release. Earlier builds appear in the cask’s history on GitHub, and Homebrew cannot install them directly.

21.0.13.1 latest · 2 installers
ArchitectureFormatRequiresFile & sourceSHA-256Download
Intel (x64) PKG — microsoft-jdk-21.0.13.0.2-macos-x64.pkgversion 21.0.13.0.2aka.ms d9b8bb46d05c7c228f74b02c4ea45697da13f76841c09df12fa2a1365c1a7171 Download
Apple silicon (ARM64) PKG — microsoft-jdk-21.0.13.1-macos-aarch64.pkgaka.ms d2f673fbc9ff6223d466948fc5b6f30c46747a2e60a3d4021cf412e1fb1f2cbd Download

Alternatives to Microsoft Build of OpenJDK 21

Similar apps in Developer tools and runtimes on Everyversion. Each one links to the download location named in the publisher’s package data, with a SHA-256 checksum.

See all 24 Developer tools and runtimes


Microsoft Build of OpenJDK 21 FAQ

Is Microsoft Build of OpenJDK 21 safe to download from here?

We host no installers. Every download button goes to the download location named in the package listing, and the checks below were run on those files.

On 2026-11-21 we downloaded the latest 4 installers from those sources and re-computed the SHA-256 of each: 4 of 4 match the package catalog’s value. Code signatures: 2 valid, 2 not signed.

VirusTotal: none of its 46 security engines flagged any of the 4 scanned files.

Our rating: Safe. No check is a guarantee. See the security details above and our Security and Trust Center. Publisher’s website: Microsoft Build of OpenJDK 21’s official website.

Does Microsoft Build of OpenJDK 21 update itself after I install an old version?

For Windows, we have no information on whether Microsoft Build of OpenJDK 21 updates itself, and for Mac, we have no confirmation that the app updates itself, although many apps check for updates and offer to install them. Look for an update setting in Microsoft Build of OpenJDK 21 (see Microsoft Build of OpenJDK 21’s documentation) before you rely on an older version.

Does Microsoft Build of OpenJDK 21 cost anything?

No. Microsoft Build of OpenJDK 21 is free and open source (license: GPL2 with Classpath Exception).

Which versions of Microsoft Build of OpenJDK 21 are listed here, and how far back?

For Windows, we list 16 versions, from 21.0.0.35 up to 21.0.13.102, and for Mac, only the current release (21.0.13.1) is listed, because older Mac builds are not kept in the package listing. This page shows all of the Windows versions.

Where do the download links go?

They go straight to the source named in the package catalog, with nothing added by us: for Windows, to aka.ms, and for Mac, to aka.ms. We host no files. Compare the SHA-256 shown next to each file with the one you compute after downloading. Publisher’s website: Microsoft Build of OpenJDK 21’s official website.