Microsoft Build of OpenJDK
Microsoft · Microsoft’s OpenJDK 17 distribution for macOS, installed as a JDK package.
Microsoft Build of OpenJDK is Languages & Runtimes software for Mac.
About
Microsoft Build of OpenJDK is Microsoft’s distribution of OpenJDK. This Homebrew cask installs the Java Development Kit (JDK) 17 package for macOS; it is a development kit, not a separate graphical application.
- Installs the Microsoft OpenJDK 17 package for Apple silicon or Intel Mac hardware.
- Uses a macOS package installer (
.) and requires macOS.pkg - This cask is specifically for the OpenJDK 17 line; it does not install another major version.
Install it with Homebrew Cask:
brew install --cask microsoft-openjdk@17
After installation, select this JDK in your development environment or configure your shell to use it when running Java development tools.
Sources: Homebrew cask · Microsoft OpenJDK
New What’s new in 17.0.20.1 Oct 7 · OpenNavo editorial
- UpdatesBase patch updates for this CPU release
Install and uninstall
Homebrew runs the microsoft-jdk-17.0.20.1-macos-aarch64.pkg installer, which asks for an administrator password.
Install without Homebrew
Download the file Homebrew uses for your chip: Apple siliconIntel
SHA-256 only checks that the download is complete; it is not a security certification. See the SHA-256 and download address
$ brew uninstall --cask \microsoft-openjdk@17A regular uninstall removes the app and keeps its settings and caches.
$ brew uninstall --zap --cask \microsoft-openjdk@17--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.See which files are removed
Facts and sources
- Version 17.0.20.1
- Recorded by Homebrew on Aug 19Released by the vendor on Oct 7
Questions
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 123 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@17. It forgets 1 installer receipt. To delete its settings and caches as well, run brew uninstall --zap --cask microsoft-openjdk@17. That also deletes 2 files and folders, including ~/.
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 ~/. These locations come from Homebrew’s clean-up list.
What is the latest version of Microsoft Build of OpenJDK?
The latest version is 17.0.20.1, added to Homebrew on Aug 19. Run brew upgrade --cask microsoft-openjdk@17 to update it.
What else does installing Microsoft Build of OpenJDK add?
It installs through a .pkg installer, which asks for an administrator password.