macOS
brew install openjdkprovider-native install command
安装
brew install openjdkprovider-native install command
概览
Development kit for the Java programming language
历史
OpenJDK is the open-source implementation community for the Java Platform, Standard Edition, and the upstream source base from which many Java Development Kit distributions are built. The Homebrew openjdk formula packages the general JDK toolchain: java, javac, jar, javadoc, jshell, jlink, jpackage, jcmd, jfr, keytool, and many diagnostic utilities.
OpenJDK began from Sun Microsystems' 2006 initiative to open source Java and the core Java platform. Red Hat's historical account says the major platform components were released over the next few years as free and open-source software under the GPL.
After Sun's acquisition by Oracle, OpenJDK continued as the central upstream for Java SE implementation work. The OpenJDK homepage describes it as the place to collaborate on an open-source implementation of Java SE and related projects, while the JDK Project describes its goal as producing a series of open-source reference implementations of the Java SE Platform.
OpenJDK became the shared upstream for a multi-vendor Java ecosystem. Oracle, Red Hat, IBM, Microsoft, Amazon, Azul, SAP, and other vendors build or support JDK distributions derived from the OpenJDK code base, while the OpenJDK Community develops language, VM, library, tooling, and platform features through projects and JEPs.
The release model changed after JDK 9. OpenJDK's JDK Project documents a six-month feature-release cadence, and JEP 14 describes the tip-and-tail model: frequent feature releases at the tip, quarterly update releases in tail trains, and vendor-designated long-term support lines such as JDK 8, 11, 17, and 21.
Developers install OpenJDK when they need the Java compiler, runtime, standard libraries, build tools, documentation tools, packaging tools, and diagnostics needed to build and run Java software. Operators often install it indirectly because build systems, language servers, CI jobs, application servers, Android-adjacent tooling, and JVM languages all expect a JDK on PATH or discoverable through platform Java wrappers.
On macOS, Homebrew marks openjdk as keg-only and documents the symlink needed for /usr/libexec/java_home and other system Java wrappers to find the JDK bundle. That detail is a classic Java-packaging issue: package managers can install many JDKs, but tools need a policy for which one wins.
OpenJDK is one of the most consequential packages in a package manager because it is both a developer-facing SDK and a build-time dependency for other packages. It also carries a distinctive license shape, GPLv2 with the Classpath Exception, which lets the JDK remain copyleft while supporting broad Java application distribution.
安全态势
Java runtime and development kit.
yellow 风险 · 高 置信度 · runtime
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
jar | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
jarsigner | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
java | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
javac | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
javadoc | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
javap | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
jcmd | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
jconsole | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
jdb | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
jdeprscan | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
jdeps | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
jfr | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
jhsdb | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
jimage | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
jinfo | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
jlink | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
jmap | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
jmod | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
jnativescan | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
jpackage | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
jps | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
jshell | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
jstack | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
jstat | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
jstatd | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
jwebserver | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
keytool | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
rmiregistry | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
serialver | 可执行文件 | 已索引可执行文件 | 从本地可执行文件索引发现。 |
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
安装元数据
| 软件包键 | brew:openjdk |
|---|---|
| 版本 | 26.0.2 |
| 软件包管理器 | Homebrew |
| 主页 | https://openjdk.org/ |
| 仓库 | https://github.com/openjdk/jdk26u |
| 最后更新 | 2026-07-27T15:13:27Z |
| Pulse | updated |
| Bottle | 未记录 |
| 服务 | 未声明 |
来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.