# Microsoft Build of OpenJDK

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

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

- **Latest version**: `25.0.5.1`
- **Developer**: Microsoft
- **Homepage**: <https://microsoft.com/openjdk>
- **Categories**: [Languages & Runtimes](https://opennavo.com/categories/languages)
- **Install**: `brew install --cask microsoft-openjdk`
- **30-day installs**: 229
- **Homebrew**: Available; updated by Homebrew
- **Download URL**: <https://aka.ms/download-jdk/microsoft-jdk-25.0.5.1-macos-aarch64.pkg>
- **SHA-256**: `8cf2982133dc9e39278f413bae02b4e6f49e04c4640066160ce4274ee7952a5a`
- **Installer packages**: microsoft-jdk-25.0.5.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.25.jdk"
        }
      ]
    },
    "phase": "uninstall",
    "sources": [],
    "type": "uninstall"
  },
  {
    "declaration": {
      "pkg": [
        "microsoft-jdk-25.0.5.1-macos-aarch64.pkg"
      ]
    },
    "phase": "install",
    "sources": [
      "microsoft-jdk-25.0.5.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. 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](https://raw.githubusercontent.com/Homebrew/homebrew-cask/HEAD/Casks/m/microsoft-openjdk.rb) · [Microsoft OpenJDK](https://microsoft.com/openjdk)

## System requirements

- Build for macOS 27, 26, 15, 14, 13, 12, 11 · Version: 25.0.5.1 · Intel · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/microsoft-openjdk.rb> · Checked 2026-11-28
  - <https://aka.ms/download-jdk/microsoft-jdk-25.0.5.1-macos-x64.pkg>
  - SHA-256: `a70c2d50b1b45f68a5c7bfa547540f7087a59f7a2596ce8da58b1334caf8a0e0`
- Build for macOS 27, 26, 15, 14, 13, 12, 11 · Version: 25.0.5.1 · Apple silicon · <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/microsoft-openjdk.rb> · Checked 2026-11-28
  - <https://aka.ms/download-jdk/microsoft-jdk-25.0.5.1-macos-aarch64.pkg>
  - SHA-256: `8cf2982133dc9e39278f413bae02b4e6f49e04c4640066160ce4274ee7952a5a`

## Uninstall

- `brew uninstall --cask microsoft-openjdk`

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

### Uninstalling also removes

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

### Deep clean (optional)

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

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.rb> · These entries come from the Homebrew definition, checked 2026-11-28. 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.rb> · These entries come from the Homebrew definition, checked 2026-11-28. They say what it declares, not what is on your Mac.

## Facts and sources

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