# Microsoft Build of OpenJDK 17

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

> This is the Markdown version of the Microsoft Build of OpenJDK 17 page on OpenNavo, with the same facts as the web page: <https://opennavo.com/apps/microsoft-openjdk@17>

- **Latest version**: `17.0.21.1-1`
- **Developer**: Microsoft
- **Homepage**: <https://microsoft.com/openjdk>
- **Categories**: [Languages & Runtimes](https://opennavo.com/categories/languages)
- **Install**: `brew install --cask microsoft-openjdk@17`
- **30-day installs**: 207
- **Homebrew**: Available; updated by Homebrew
- **Download URL**: <https://aka.ms/download-jdk/microsoft-jdk-17.0.21.1-1-macos-aarch64.pkg>
- **SHA-256**: `b6b89ad24eb8b9893d914c51f890d735acee29746c361e0da7105569458e62a0`
- **Installer packages**: microsoft-jdk-17.0.21.1-macos-aarch64.pkg

SHA-256 only checks that the download is complete; it is not a security certification.

## Installation and removal contents

```json
[
  {
    "declaration": {
      "uninstall": [
        {
          "pkgutil": "com.microsoft.17.jdk"
        }
      ]
    },
    "phase": "uninstall",
    "sources": [],
    "type": "uninstall"
  },
  {
    "declaration": {
      "pkg": [
        "microsoft-jdk-17.0.21.1-macos-aarch64.pkg"
      ]
    },
    "phase": "install",
    "sources": [
      "microsoft-jdk-17.0.21.1-macos-aarch64.pkg"
    ],
    "type": "pkg"
  },
  {
    "declaration": {
      "zap": [
        {
          "trash": [
            "~/Library/Preferences/net.java.openjdk.java.plist",
            "~/Library/Saved Application State/net.java.openjdk.java.savedState"
          ]
        }
      ]
    },
    "phase": "cleanup",
    "sources": [],
    "type": "zap"
  }
]
```

## 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:

```sh
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](https://raw.githubusercontent.com/Homebrew/homebrew-cask/HEAD/Casks/m/microsoft-openjdk@17.rb) · [Microsoft OpenJDK](https://microsoft.com/openjdk)

## System requirements

- Build for macOS 27, 26, 15, 14, 13, 12, 11 · Version: 17.0.21.1-1 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/microsoft-openjdk@17.rb> · Checked 2026-11-29
  - <https://aka.ms/download-jdk/microsoft-jdk-17.0.21.1-1-macos-x64.pkg>
  - SHA-256: `0d69ebcf1f547b4120243c1f5c0c328925403fd081faedc3bfa5b8c859da0da8`
- Build for macOS 27, 26, 15, 14, 13, 12, 11 · Version: 17.0.21.1-1 · Apple silicon · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/microsoft-openjdk@17.rb> · Checked 2026-11-29
  - <https://aka.ms/download-jdk/microsoft-jdk-17.0.21.1-1-macos-aarch64.pkg>
  - SHA-256: `b6b89ad24eb8b9893d914c51f890d735acee29746c361e0da7105569458e62a0`

## Uninstall

- `brew uninstall --cask microsoft-openjdk@17`

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

### Uninstalling also removes

- Installer receipts (pkgutil): `com.microsoft.17.jdk` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/microsoft-openjdk@17.rb> · These entries come from the Homebrew definition, checked 2026-11-29. They say what it declares, not what is on your Mac.

### Deep clean (optional)

- `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`.

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

- Files and folders: `~/Library/Preferences/net.java.openjdk.java.plist` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/microsoft-openjdk@17.rb> · These entries come from the Homebrew definition, checked 2026-11-29. They say what it declares, not what is on your Mac.
- Files and folders: `~/Library/Saved Application State/net.java.openjdk.java.savedState` — <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/microsoft-openjdk@17.rb> · These entries come from the Homebrew definition, checked 2026-11-29. They say what it declares, not what is on your Mac.

## Facts and sources

- <https://opennavo.com/apps/microsoft-openjdk@17>
- <https://opennavo.com/apps/microsoft-openjdk@17/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/microsoft-openjdk@17.rb> · Checked 2026-11-29
- <https://formulae.brew.sh/cask/microsoft-openjdk@17>
