Microsoft Build of OpenJDK

Microsoft · A Microsoft distribution of OpenJDK 21 for macOS, installed as a JDK package.

CaskLanguages & RuntimesApple silicon · Intel
From homebrew/cask
30-day installs147#539 in App
1-year installs2.4KLast 365 days
Latest version21.0.12.15 days ago · Oct 7
Download size200MBarm64 / x86_64 · pkg
Release cadenceIrregular1 release in 30 days

About

Microsoft Build of OpenJDK is Microsoft’s distribution of OpenJDK. This Homebrew cask installs the microsoft-openjdk@21 variant as a macOS JDK package.

  • The cask is for the OpenJDK 21 line; it is not a separate runtime-only package.
  • Homebrew provides installer packages for Apple Silicon (aarch64) and Intel (x64) Macs.
  • Installation uses a macOS package installer. The cask also defines package-based uninstall behavior.

Install with Homebrew Cask:

brew install --cask microsoft-openjdk@21

After installation, use the JDK from your macOS development environment or command line as needed. The cask targets macOS; no minimum macOS version is specified.

Sources: Homebrew cask definition · Microsoft OpenJDK

New What’s new in 21.0.12.1 Oct 7 · OpenNavo editorial

  • UpdatesBase patch updates only
  • SecuritySee the OpenJDK Vulnerability Advisory for fixed vulnerabilities

An open-source interface for Homebrew. Installs run through the macOS app or the brew command.

© 2026 OpenNavo