openjdk@21
PopularFormula 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
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.
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 allOpen python@3.14
python@3.14
Popular
Interpreted, interactive, object-oriented programming language
Utilities v3.14.7