openjdk@11 (deprecated)

Disable date: 2032-01-31

Install command:
brew install openjdk@11

Also known as: java11

Development kit for the Java programming language

https://openjdk.org/

License: GPL-2.0-only

Development: Pull requests

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

Formula code: openjdk@11.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 ✅ 11.0.33

Other versions:

openjdk@25 25.0.5.0.3 Development kit for the Java programming language
openjdk@21 21.0.13.0.3 Development kit for the Java programming language
openjdk@17 17.0.21.0.3 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.19.1 Color management engine supporting ICC profiles

Depends on when building from source:

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

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

Binaries: jaotc, jar, jarsigner, java, javac, javadoc, javap, jcmd, jconsole, jdb, jdeprscan, jdeps, jfr, jhsdb, jimage, jinfo, jjs, jlink, jmap, jmod, jps, jrunscript, jshell, jstack, jstat, jstatd, keytool, pack200, rmic, rmid, rmiregistry, serialver, unpack200

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

GitHub Packages downloads:

Last 30 days41,356
Downloads10,231,876
Analytics install events (30 days)4,102
Downloads / install events (30 days)10.1×

Source: GitHub Packages, fetched 2026-11-09T00:52:49Z. Analytics dates: 2026-10-10 to 2026-11-09. 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
Installs4,09515,23783,956
Installs (--HEAD)720133
Installs on Request3,80514,30176,461
Installs on Request (--HEAD)720133
Build Errors4