Skip to content

Eclipse Temurin 21 JDK

Eclipse Adoptium and contributors · Free OpenJDK 21 distribution with the HotSpot runtime, Java compiler, standard libraries and diagnostics for Java development and deployment.

CaskLanguages & Runtimes 181
Install command
brew install --cask temurin@21
30-day installs
11,642
#49 in App
1-year installs
126.5K
Last 365 days
Latest version
21.0.13.1
Download size
200MB
pkg
Release cadence
Every 2 weeks
3 releases in 30 days

About

Eclipse Temurin 21 is the Eclipse Adoptium distribution of the OpenJDK 21 Java development kit. It supplies a Java runtime and development tools for building and running Java 21 applications, services, and build pipelines. Java developers, students, and teams maintaining Java 21 deployments can use it without purchasing an Oracle Java subscription.

Main features

  • Compile Java with javac, run applications with the HotSpot JVM, and package code with jar.
  • Use the Java 21 standard libraries, language capabilities, and long-term-support update line.
  • Diagnose running programs with JDK tools, including jcmd, jstack, and Java Flight Recorder.
  • Obtain tested binaries through Adoptium, with Java compatibility testing and the AQAvit quality suite.
  • Install a native Mac package or choose separate builds for other supported operating systems.

Installation and first use

Install brew install --cask temurin@21. Homebrew uses the official macOS PKG installer, which may require administrator authorization. The JDK is installed under /Library/Java/JavaVirtualMachines/temurin-21.jdk/Contents/Home, rather than as a graphical application in Applications. Select this JDK in your IDE or configure JAVA_HOME using /usr/libexec/java_home -v 21; check java -version and javac -version to ensure the intended Java version is active.

Requirements, dependencies, and conflicts

Separate native macOS packages are provided for Apple Silicon (aarch64) and Intel (x64). Adoptium's current Java 21 support matrix lists macOS 12, 13, 14, and 15 for both architectures. The Homebrew snapshot includes Big Sur and newer variations but declares no explicit macOS minimum; this is not equivalent to the vendor's tested support matrix. Consult the vendor matrix for support guarantees.

The Homebrew cask declares no additional formula dependencies and no explicit cask conflicts. Other major-version JDKs can be installed in separate directories, but JAVA_HOME, PATH, and your IDE determine which JDK is used; the same Temurin 21 installer receipt should not be independently managed by multiple installers. Maven, Gradle, and IDEs are optional separate tools with their own Java-version requirements.

Beyond this Mac-only cask, Adoptium provides Java 21 packages for supported Windows, Linux and AIX targets. The retrieved Java21 matrix includes Windows x64 and Windows aarch64, as well as multiple Linux architectures; support for a particular OS version and architecture must be checked separately. Android and iOS are not ordinary desktop Temurin JDK installation targets. Package formats and native dependencies vary by system; a Mac PKG cannot be installed on Windows or Linux. The published platform matrix is a tested-support list, not proof of one universal binary minimum.

Hardware needs depend on heap size, projects, build tools and application workloads; no universal RAM/storage minimum is specified in the linked installer guide. The cask installs a system JDK, not a graphical IDE. Use a current patch of the Java21 line for maintenance/security fixes; Java21's language/runtime baseline is distinct from an individual patch release. Java21 supports capabilities such as virtual threads, but patch updates are not new major Java language releases.

Accounts, costs, and license

Downloading and using Temurin requires no Adoptium account or subscription and the binaries are free, including commercial use. Third-party paid support arrangements are separate. OpenJDK is distributed under GNU GPL version 2 with the Classpath Exception; bundled components have their own notices. Eclipse Adoptium and its contributors maintain the distribution.

References: Temurin, macOS installation, supported platforms, OpenJDK 21 source, and official Temurin builds.

Historical engineering workflow

The official Adoptium January 26, 2024 release article supplies a Jenkins console image verifying reproducibility of Temurin 21.0.2+13 on Linux ARM64. This is a real historical Temurin 21 engineering-verification workflow, not a Mac installer, graphical Java application or capture of the current 21.0.12.1 package. Platform and release differences are retained.

At a glance

Price
Free
Chip
Apple silicon · Intel
Auto-updates
No
Repository
GitHub repository · Updated 5 days ago★181
Developer
Eclipse Adoptium and contributors
Homebrew
Available; updated by Homebrew
Also known as
Eclipse Temurin 21, temurin@21
Homepage
adoptium.net
Token
temurin@21

Checked

What’s new in 21.0.14-prerelease

New · From GitHub Releases

jdk-21.0.14+2-ea-beta

Nightly Build of jdk-21.0.14+2-ea-beta

How to install Eclipse Temurin 21 JDK on Mac

Homebrew runs the OpenJDK21U-jdk_aarch64_mac_hotspot_21.0.13.1_2.pkg installer, which asks for an administrator password.

Install without Homebrew

Download the file Homebrew uses for your chip: Install Details

Uninstall Eclipse Temurin 21 JDK and optional data cleanup

Uninstall command
brew uninstall --cask temurin@21

A regular uninstall removes the app and keeps its settings and caches.

Questions about Eclipse Temurin 21 JDK

Is Eclipse Temurin 21 JDK safe?

Eclipse Temurin 21 JDK is in Homebrew’s official catalog and has not been disabled. Since September 2026, Homebrew disables apps that fail macOS Gatekeeper checks. When installing, Homebrew checks the download from github.com against its SHA-256 checksum. It was installed 11,642 times through Homebrew in the last 30 days.

Is Eclipse Temurin 21 JDK free?

Yes, Eclipse Temurin 21 JDK is free to use. Source: adoptium.net/docs/faq, checked Oct 25, 2026.

Does Eclipse Temurin 21 JDK have a public GitHub repository?

Eclipse Temurin 21 JDK has a public GitHub repository (https://github.com/adoptium/temurin21-binaries), but OpenNavo has not verified an OSI license.

How do I completely uninstall Eclipse Temurin 21 JDK on a Mac?

Run brew uninstall --cask temurin@21. It forgets 1 installer receipt.

Does Eclipse Temurin 21 JDK run on Apple silicon (M1 and later) Macs?

Yes. Homebrew downloads separate builds for Apple silicon and Intel Macs.

What is the latest version of Eclipse Temurin 21 JDK?

The latest version is 21.0.13.1. Run brew upgrade --cask temurin@21 to update it.

What else does installing Eclipse Temurin 21 JDK add?

It installs through a .pkg installer, which asks for an administrator password.

Similar Apps

  • Eclipse Temurin 17 JDKFree OpenJDK 17 distribution with the HotSpot Java runtime, compiler, standard libraries, and diagnostic tools for Java development and deployment.
  • Eclipse Temurin JDKFree OpenJDK distribution with the HotSpot runtime, compiler and diagnostic tools. Current Apple Silicon builds use Java27; Intel Mac availability differs.
  • Azul Zulu 17Azul’s OpenJDK Java 17 development kit for running, compiling and maintaining Java applications.
  • Eclipse Temurin 25Free OpenJDK-based Java 25 development kit with the HotSpot JVM, compiler and diagnostic tools.
Browse all apps