Skip to content

Microsoft Build of OpenJDK

Microsoft · Microsoft’s OpenJDK distribution, installed on macOS as a JDK package.

CaskLanguages & Runtimes
Install command
brew install --cask microsoft-openjdk
30-day installs
229
#674 in App
1-year installs
1.7K
Last 365 days
Latest version
25.0.5.1
Download size
218MB
pkg
Release cadence
Irregular
1 release in 30 days

About

Microsoft Build of OpenJDK is Microsoft’s distribution of OpenJDK. The Homebrew cask installs the JDK using a macOS package installer.

  • The supplied cask provides the OpenJDK distribution from Microsoft.
  • The installer package is selected for the Mac architecture supported by the cask: Apple silicon or Intel.
  • Homebrew records a package identifier for uninstalling the JDK and lists related preference and saved-state files for cleanup.

To install, run brew install --cask microsoft-openjdk. Homebrew installs the JDK package for your Mac. This entry describes the JDK package, not a separate application or a particular development tool.

Homebrew cask details · Microsoft OpenJDK

At a glance

Chip
Apple silicon · Intel
Auto-updates
No
Developer
Microsoft
Homebrew
Available; updated by Homebrew
Also known as
microsoft-openjdk
Homepage
microsoft.com/openjdk
Token
microsoft-openjdk

Checked

How to install Microsoft Build of OpenJDK on Mac

Homebrew runs the microsoft-jdk-25.0.5.1-macos-aarch64.pkg installer, which asks for an administrator password.

Install without Homebrew

Download the file Homebrew uses for your chip: Install Details

Uninstall Microsoft Build of OpenJDK and optional data cleanup

Uninstall command
brew uninstall --cask microsoft-openjdk

A regular uninstall removes the app and keeps its settings and caches.

Deep clean (optional)
Uninstall command
brew uninstall --zap --cask microsoft-openjdk

--zap also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out --zap.

Questions about Microsoft Build of OpenJDK

Is Microsoft Build of OpenJDK safe?

Microsoft Build of OpenJDK is in Homebrew’s official catalog and has not been disabled. Since September 2026, Homebrew disables apps that fail macOS Gatekeeper checks. When installing, Homebrew checks the download from aka.ms against its SHA-256 checksum. It was installed 229 times through Homebrew in the last 30 days.

How do I completely uninstall Microsoft Build of OpenJDK on a Mac?

Run brew uninstall --cask microsoft-openjdk. It forgets 1 installer receipt. To delete its settings and caches as well, run brew uninstall --zap --cask microsoft-openjdk. --zap also deletes the settings, caches and other files listed in the Homebrew definition. They can include data shared with other apps and cannot be restored, and it does not guarantee that nothing is left. Back up any data you need first. To keep settings and caches, leave out --zap. That also deletes 2 files and folders, including ~/Library/Preferences/net.java.openjdk.java.plist.

Does Microsoft Build of OpenJDK run on Apple silicon (M1 and later) Macs?

Yes. Homebrew downloads separate builds for Apple silicon and Intel Macs.

Where does Microsoft Build of OpenJDK store its settings and data?

Its settings are in ~/Library/Preferences/net.java.openjdk.java.plist. These locations come from Homebrew’s clean-up list.

What is the latest version of Microsoft Build of OpenJDK?

The latest version is 25.0.5.1, added to Homebrew on Nov 18, 2026. Run brew upgrade --cask microsoft-openjdk to update it.

What else does installing Microsoft Build of OpenJDK add?

It installs through a .pkg installer, which asks for an administrator password.

Similar Apps

Browse all apps