openjdk@21

Popular
Formula Utilities v21.0.12.1

Development kit for the Java programming language

About

Install openjdk@21 on macOS with Homebrew Formula using `brew install openjdk@21`. openjdk@21 is a Utilities command-line package with version 21.0.12.1. The package is listed in homebrew/core.

Install 1 App in Terminal
$
brew install openjdk@21
Source: homebrew/core Website Homebrew

Dependencies

Build Dependencies

Installation Notes

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

Official Homebrew Stats

Install activity metrics for openjdk@21.

+19.8% vs 90d avg
30 Days
39.0K total installs
1.3K installs / day avg
90 Days
97.6K total installs
1.1K installs / day avg
1 Year
317.9K total installs
871 installs / day avg

Frequently asked questions

How do I install openjdk@21 with Homebrew?

Run brew install openjdk@21 in Terminal to install openjdk@21 as a Homebrew formula on macOS.

What kind of package is openjdk@21?

openjdk@21 is a Utilities Homebrew formula and FastBrew currently shows version 21.0.12.1.

What should I review before installing openjdk@21?

Review the runtime dependencies (freetype, giflib, harfbuzz, jpeg-turbo, libpng, little-cms2) and build dependencies (autoconf, pkgconf) along with any caveats before installing.

Related Utilities Apps

View all
Open xz
xz
Popular

General-purpose data compression with high compression ratio

formula Utilities v5.8.3
Open python@3.14
python@3.14
Popular

Interpreted, interactive, object-oriented programming language

formula Utilities v3.14.7
Open gh
gh
Popular

GitHub command-line tool

formula Utilities v2.98.0
Open readline
readline
Popular

Library for command-line editing

formula Utilities v8.3.3
Open zstd
zstd
Popular

Zstandard is a real-time compression algorithm

formula Utilities v1.5.7
Open glib
glib
Popular

Core application library for C

formula Utilities v2.88.3