# Microsoft Build of OpenJDK 25

Microsoft’s OpenJDK 25 distribution, packaged as a macOS JDK installer.

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

- **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@25`
- **30-day installs**: 134
- **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. This Homebrew cask is specifically the OpenJDK 25 variant and installs it using a macOS package installer.

- Provides a Java Development Kit (JDK) distribution; it is not an application or a separate runtime-only package.
- The cask supports Apple silicon and Intel Mac variants in its package definition.
- Homebrew installs the downloaded `.pkg` package.

Install with:

```sh
brew install --cask microsoft-openjdk@25
```

The cask requires macOS. Choose and configure this JDK in your development tools or environment when you want to use it for Java development; installing it does not itself install a Java editor or IDE.

Sources: [Homebrew cask definition](https://raw.githubusercontent.com/Homebrew/homebrew-cask/HEAD/Casks/m/microsoft-openjdk@25.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@25.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@25.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@25`

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

`--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@25.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@25.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@25>
- <https://opennavo.com/apps/microsoft-openjdk@25/versions>
- <https://github.com/homebrew/homebrew-cask/blob/HEAD/Casks/m/microsoft-openjdk@25.rb> · Checked 2026-11-28
- <https://formulae.brew.sh/cask/microsoft-openjdk@25>
