openjdk@21 for Mac
Development kit for the Java programming language
brew install openjdk@21. It is distributed under the GPL-2.0-only WITH Classpath-exception-2.0 licence. 21,795 Homebrew installs in the last 30 days. What is openjdk@21
openjdk@21 is a macOS developer tool: Development kit for the Java programming language.
Distributed as a Homebrew formula that builds or unpacks binaries into PATH. It is distributed under the GPL-2.0-only WITH Classpath-exception-2.0 licence.
How to install openjdk@21
- Open Terminal (press ⌘ + Space and type "Terminal").
- If Homebrew is not installed, run the command below first.
-
Run
brew install openjdk@21.
Similar apps in Developer Tools
The closest apps in the same category, ranked by description similarity and installs. They are related tools, not confirmed interchangeable alternatives; see the comparison pages for curated head-to-heads.
FAQ
How to install openjdk@21?
Run brew install openjdk@21. This requires Homebrew; if it is not installed, run the command below first.
Is openjdk@21 open source?
Yes — Homebrew distributes it under the GPL-2.0-only WITH Classpath-exception-2.0 licence.
Does openjdk@21 run on Apple silicon?
Homebrew provides this formula for macOS. If upstream does not ship an Apple silicon build, Rosetta 2 can run the Intel binary.
How popular is openjdk@21?
According to Homebrew, it was installed 21,795 times in the last 30 days and ranks #93.
What is the current version of openjdk@21?
The current packaged version is 21.0.13.0.2.
Data comes from the public Homebrew API. Install counts are installs only, not total users.