openjdk@25

Deprecation date: 2030-09-30

Disable date: 2033-09-30

Install command:
brew install openjdk@25

Development kit for the Java programming language

https://openjdk.org/

License: GPL-2.0-only WITH Classpath-exception-2.0

Development: Pull requests

Formula JSON API: /api/formula/openjdk@25.json

Formula code: openjdk@25.rb on GitHub

Bottle (binary package) installation support provided for:

macOS on
Apple Silicon
golden gate ✅
tahoe ✅
sequoia ✅
Linux ARM64 ✅
x86_64 ✅

Current versions:

stable ✅ 25.0.5.1

Other versions:

openjdk@21 21.0.13.1 Development kit for the Java programming language
openjdk@17 17.0.21.1 Development kit for the Java programming language
openjdk@11 11.0.33.1 Development kit for the Java programming language
openjdk@8 1.8.0-512 Development kit for the Java programming language

Keg-only because this is an alternate version of another formula.

Depends on:

freetype 2.15.0 Software library to render fonts
giflib 6.1.3 Library and utilities for processing GIFs
harfbuzz 15.1.0 OpenType text shaping engine
jpeg-turbo 3.2.1 JPEG image codec that aids compression and decompression
libpng 1.6.59 Library for manipulating PNG images
little-cms2 2.20 Color management engine supporting ICC profiles

Depends on when building from source:

autoconf 2.73 Automatic configure script builder
pkgconf 3.0.11 Package compiler and linker metadata toolkit

Uses from macOS: unzip (build), zip (build), cups (no_linkage)

Requires: Xcode (build)

Binaries: jar, jarsigner, java, javac, javadoc, javap, jcmd, jconsole, jdb, jdeprscan, jdeps, jfr, jhsdb, jimage, jinfo, jlink, jmap, jmod, jnativescan, jpackage, jps, jrunscript, jshell, jstack, jstat, jstatd, jwebserver, keytool, rmiregistry, serialver

For the system Java wrappers to find this JDK, symlink it with
    sudo ln -sfn $HOMEBREW_PREFIX/opt/openjdk@25/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk-25.jdk

GitHub Packages downloads:

Last 30 days94,343
Downloads265,227
Analytics install events (30 days)11,516
Downloads / install events (30 days)8.2×

Source: GitHub Packages, fetched 2026-11-18T00:58:48Z. Analytics dates: 2026-10-19 to 2026-11-18. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.

Analytics:

30 days90 days365 days
Installs11,50819,65831,287
Installs (--HEAD)82445
Installs on Request7,08612,38522,705
Installs on Request (--HEAD)82445
Build Errors165