macOS
brew install openjdk@21local Homebrew formula metadata
sudo port install openjdk21MacPorts ports tree · java/openjdk21/Portfile · ソース: api.github.com
brew
openjdk@21 のインストール経路、実行ファイル、メタデータ、AI エージェント向けセキュリティノートを確認します。
インストール
brew install openjdk@21local Homebrew formula metadata
sudo port install openjdk21MacPorts ports tree · java/openjdk21/Portfile · ソース: api.github.com
sudo apt install openjdk-21-dbgDebian stable package indexes · openjdk-21-dbg · ソース: deb.debian.org
sudo apk add openjdk21Alpine Linux edge package indexes · openjdk21 · ソース: dl-cdn.alpinelinux.org
nix profile install nixpkgs#openjdk21nixpkgs package indexes · openjdk21 · ソース: raw.githubusercontent.com
choco install openjdkChocolatey community package catalog · openjdk · ソース: community.chocolatey.org
winget install --id Microsoft.OpenJDK.17 -eWindows Package Manager source index · Microsoft.OpenJDK.17 · ソース: cdn.winget.microsoft.com
概要
Development kit for the Java programming language
ローカルパッケージデータベースに実行可能エイリアスは見つかりませんでした。
履歴
OpenJDK 21 is the open-source reference implementation of Java SE 21. It reached General Availability on 19 September 2023 and became the next major long-term-support Java line after JDK 17, with virtual threads as its headline operational feature.
JDK 21 was produced by the OpenJDK JDK Project under the same time-based release model used for earlier post-Java-9 releases. The release implements Java SE 21 as specified by JSR 396 and was tracked through the JEP process.
The feature set shows how the Java platform evolved after JDK 17: virtual threads were finalized, record patterns and pattern matching for switch were delivered, sequenced collections joined the core libraries, Generational ZGC arrived, and several Panama, Amber, Vector, and structured-concurrency features remained preview or incubator work.
The OpenJDK release page identifies JDK 21 as a long-term-support release from most vendors. That made it the natural upgrade candidate for teams already on Java 17 that wanted the newer concurrency model, pattern-matching improvements, and garbage-collector work without tracking every six-month feature release.
Virtual threads drove much of the ecosystem attention around JDK 21. The JEP describes them as lightweight threads intended to preserve the simple thread-per-request programming style while improving the scalability of high-throughput server applications, which made the release especially relevant to web frameworks, application servers, observability tools, and JVM operators.
The package supplies the complete Java 21 developer kit: compiler, runtime, packaging tools, serviceability tools, jshell, jlink, jpackage, jwebserver, signing tools, and diagnostics. Developers install it to build and run Java 21 applications, test virtual-thread workloads, target Java 21 bytecode, and keep CI environments aligned with a named LTS release.
Operators and build engineers care about openjdk@21 because it offers a pinned Java 21 toolchain independent of the unversioned latest JDK. That is useful for reproducible Maven/Gradle builds, container base images, local development shells, and production systems that certify against a particular Java release family.
OpenJDK 21 is where a package entry is more than 'the Java package': it is a versioned runtime contract. The package lets downstream formulas, buildpacks, language servers, and CI runners ask for Java 21 specifically while other software remains on Java 17 or moves to newer feature releases.
For package nerds, the interesting bit is the coexistence problem: a modern workstation or build farm may need JDK 8 for legacy code, JDK 17 for one LTS fleet, and JDK 21 for virtual-thread-capable services. Versioned OpenJDK packages make that matrix explicit.
セキュリティ状態
openjdk@21 に一致するローカルシークレット処理マニフェストは見つかりませんでした。将来の対応で安定したパッケージ URL を使えるよう、Nucleus パッケージメタデータはここに公開されています。
エージェントに無人実行させる前に、このツールが平文の認証情報を読むか、リモート状態を書き込むか、成果物を公開するか、プラグインを起動するかを確認してください。
実行可能ファイル
| コマンド | 種類 | 公開範囲 | メモ |
|---|---|---|---|
| 実行可能ファイルのデータはありません。 | |||
鮮度
これらの信号は、ページ生成時期、パッケージマネージャの活動、上流リリース比較を分けて示します。バージョン遅れは、証拠 URL と比較可能なバージョンがある場合だけ警告されます。
https://github.com/openjdk/jdk21u
インストールメタデータ
| パッケージキー | brew:openjdk@21 |
|---|---|
| バージョン | 21.0.11 |
| パッケージマネージャ | Homebrew |
| パッケージマネージャページ | https://formulae.brew.sh/formula/openjdk@21 |
| ホームページ | https://openjdk.org/ |
| リポジトリ | https://github.com/openjdk/jdk21u |
| 上流ドキュメント | https://docs.oracle.com/en/java/javase/21 |
| ライセンス | GPL-2.0-only WITH Classpath-exception-2.0 |
| ソースアーカイブ | https://github.com/openjdk/jdk21u/archive/refs/tags/jdk-21.0.11-ga.tar.gz |
| 最終更新 | 2026-06-25T13:37:59+02:00 |
| Pulse | updated |
| 依存関係 | freetype, giflib, harfbuzz, jpeg-turbo, libpng, little-cms2 |
| ビルド依存関係 | autoconf, pkgconf |
| Bottle | 利用可能 (対象 arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux) |
| Homebrew post-install | 未定義 |
| サービス | 宣言なし |
| 注意点 | 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 |
レジストリ情報
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | openjdk@21 |
| Version Scheme | 0 |
| Revision | 0 |
| Requirements |
|
| Bottle Stable Root URL | https://ghcr.io/v2/homebrew/core |
| Deprecated | no |
| Disabled | no |
| Keg Only | yes |
| URL Keys |
|
ソースデータベース一致
一致は外部パッケージマネージャインデックスから取得され、ローカルの Automic Vault パッケージリンクとは分けて表示されます。
openjdk-21-dbg 21.0.11+10-1~deb13u2
Java runtime based on OpenJDK (debugging symbols)
sudo apt install openjdk-21-dbgopenjdk-21-demo 21.0.11+10-1~deb13u2
Java runtime based on OpenJDK (demos and examples)
sudo apt install openjdk-21-demoopenjdk-21-doc 21.0.11+10-1~deb13u2
OpenJDK Development Kit (JDK) documentation
sudo apt install openjdk-21-docopenjdk-21-jdk 21.0.11+10-1~deb13u2
OpenJDK Development Kit (JDK)
sudo apt install openjdk-21-jdkopenjdk-21-jdk-headless 21.0.11+10-1~deb13u2
OpenJDK Development Kit (JDK) (headless)
sudo apt install openjdk-21-jdk-headlessopenjdk-21-jre 21.0.11+10-1~deb13u2
OpenJDK Java runtime, using Hotspot JIT
sudo apt install openjdk-21-jreopenjdk-21-jre-headless 21.0.11+10-1~deb13u2
OpenJDK Java runtime, using Hotspot JIT (headless)
sudo apt install openjdk-21-jre-headlessopenjdk-21-jre-zero 21.0.11+10-1~deb13u2
Alternative JVM for OpenJDK, using Zero
sudo apt install openjdk-21-jre-zeroopenjdk-21-source 21.0.11+10-1~deb13u2
OpenJDK Development Kit (JDK) source files
sudo apt install openjdk-21-sourceopenjdk-21-testsupport 21.0.11+10-1~deb13u2
Java runtime based on OpenJDK (regression test support)
sudo apt install openjdk-21-testsupportopenjdk-21-dbg 21.0.3+9-1ubuntu1
Java runtime based on OpenJDK (debugging symbols)
sudo apt install openjdk-21-dbgopenjdk-21-demo 21.0.3+9-1ubuntu1
Java runtime based on OpenJDK (demos and examples)
sudo apt install openjdk-21-demoopenjdk-21-doc 21.0.3+9-1ubuntu1
OpenJDK Development Kit (JDK) documentation
sudo apt install openjdk-21-docopenjdk-21-jdk 21.0.3+9-1ubuntu1
OpenJDK Development Kit (JDK)
sudo apt install openjdk-21-jdkopenjdk-21-jdk-headless 21.0.3+9-1ubuntu1
OpenJDK Development Kit (JDK) (headless)
sudo apt install openjdk-21-jdk-headlessopenjdk-21-jre 21.0.3+9-1ubuntu1
OpenJDK Java runtime, using Hotspot JIT
sudo apt install openjdk-21-jreソース経路
このページは scripts/generate-pkg-sqlite.py が生成した非公開のパッケージ SQLite アーティファクトから av-web によって提供されます。
View the package source record on GitHub.