☰ Menu
Home›Developer Tools›openjdk@21
CLI Open source 41,214 installs/mo

openjdk@21 for Mac

openjdk@21

Development kit for the Java programming language

openjdk@21 — overview

Welcome to OpenJDK 21 Updates!

The JDK 21 Updates project uses two GitHub repositories. Updates are continuously developed in the repository jdk21u-dev. This is the repository usually targeted by contributors. The jdk21u repository is used for rampdown of the update releases of jdk21u and only accepts critical changes that must make the next release during rampdown. (You probably do not want to target jdk21u).

For more OpenJDK 21 updates specific information such as timelines and contribution guidelines see the project wiki page.

For build instructions please see the online documentation, or either of these files: doc/building.html (html version) doc/building.md (markdown version)

See for more information about the OpenJDK Community and the JDK and see for JDK issue tracking.

Details

Java编程语言开发工具包

How to install openjdk@21

  1. Open Terminal (press ⌘ + Space and type “Terminal”).
  2. If Homebrew is not installed yet, run the command below first.
  3. Run this command:

Latest 10 releases

This project has no GitHub releases yet.

Depended on by 50 apps

The following apps install it automatically, ranked by 30-day installs:

Prebuilt bottle platforms

Official Homebrew bottles cover:

  • Apple silicon · latest macOS
  • Apple silicon · macOS 26 Tahoe
  • Apple silicon · macOS 15 Sequoia
  • Linux · ARM64
  • Linux · x86_64

⚠️ No prebuilt bottle for Intel Macs; Intel users need brew install --build-from-source to build from source.

Installation notes

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

Compared with similar apps

Only public metadata is compared, with no subjective recommendation; see the compare pages for field-by-field comparisons.

Compared with similar apps
AppVersionLicenseArchitecture30-day installs
openjdk@2121.0.13.0.2GPL-2.0-only WITH Classpath-exception-2.0CLI41,214
openjdk@1717.0.21.0.2GPL-2.0-only WITH Classpath-exception-2.0CLI35,040
openjdk27.0.1.0.3GPL-2.0-only WITH Classpath-exception-2.0CLI63,605
python@3.153.15.1Python-2.0CLI16,877

Similar apps: Developer Tools

Leave a comment

评论表单加载中…