Skip to content

Microsoft Build of OpenJDK 17

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

CaskLanguages & Runtimes
Install command
brew install --cask microsoft-openjdk@17
30-day installs
207
#724 in App
1-year installs
60.9K
Last 365 days
Latest version
17.0.21.1-1
Download size
187MB
pkg
Release cadence
Irregular
1 release in 30 days

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 (.pkg) and requires macOS.
  • 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

At a glance

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

Checked

How to install Microsoft Build of OpenJDK 17 on Mac

Homebrew runs the microsoft-jdk-17.0.21.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 17 and optional data cleanup

Uninstall command
brew uninstall --cask microsoft-openjdk@17

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

Deep clean (optional)
Uninstall command
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. Back up any data you need first. To keep settings and caches, leave out --zap.

Questions about Microsoft Build of OpenJDK 17

Is Microsoft Build of OpenJDK 17 safe?

Microsoft Build of OpenJDK 17 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 207 times through Homebrew in the last 30 days.

How do I completely uninstall Microsoft Build of OpenJDK 17 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. --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 17 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 17 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 17?

The latest version is 17.0.21.1-1. Run brew upgrade --cask microsoft-openjdk@17 to update it.

What else does installing Microsoft Build of OpenJDK 17 add?

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

Similar Apps

  • Amazon Corretto 8Amazon-supported OpenJDK 8 runtime and development tools for applications and build workflows requiring Java 8.
  • Azul Zulu JDK 11Azul’s OpenJDK 11 distribution for running and developing Java applications, with native macOS packages for Apple silicon and Intel.
  • Amazon Corretto 11Amazon’s free OpenJDK 11 distribution provides a Java runtime, compiler and development tools with long-term maintenance.
  • OpenWebStartRun JNLP-based Java applications with managed Java runtimes, application caching and configurable security settings.
Browse all apps