macOS
brew install openjdk@17local Homebrew formula metadata
sudo port install openjdk17MacPorts ports tree · java/openjdk17/Portfile · 来源: api.github.com
安装
brew install openjdk@17local Homebrew formula metadata
sudo port install openjdk17MacPorts ports tree · java/openjdk17/Portfile · 来源: api.github.com
sudo apt install openjdk-17-dbgUbuntu 24.04 LTS package indexes · openjdk-17-dbg · 来源: archive.ubuntu.com
sudo apk add openjdk17Alpine Linux edge package indexes · openjdk17 · 来源: dl-cdn.alpinelinux.org
nix profile install nixpkgs#openjdk17nixpkgs package indexes · openjdk17 · 来源: raw.githubusercontent.com
choco install openjdk17Chocolatey community package catalog · openjdk17 · 来源: 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 17 is the open-source reference implementation of Java SE 17. It reached General Availability on 14 September 2021 and became one of the major post-Java-11 long-term-support baselines for Java developers, vendors, build systems, CI images, and Linux/macOS package managers.
JDK 17 was produced through the OpenJDK JDK Project, whose long-running goal is to ship open-source reference implementations of the Java SE Platform on a strict six-month feature-release cadence. The release was specified by JSR 390, tracked through the JEP process, and delivered using the JDK Release Process.
The release closed a four-year gap from the previous LTS line, JDK 11, and accumulated language, VM, library, and platform work that had been previewed or incubated across intervening releases. Its feature list includes sealed classes, strong encapsulation of JDK internals, a macOS/AArch64 port, a new macOS rendering pipeline, context-specific deserialization filters, and incubating Foreign Function & Memory and Vector APIs.
The OpenJDK release page identifies JDK 17 as a long-term-support release from most vendors. That status made it a practical migration target for organizations that skipped non-LTS releases after Java 11, and it explains why package managers keep versioned formulae such as openjdk@17 beside newer JDK lines.
JDK 17 also mattered because it tightened boundaries around unsupported internal APIs. Strong encapsulation of JDK internals moved many applications and libraries from permissive legacy access toward explicit supported APIs or deliberate command-line opens, making the release a compatibility checkpoint for the Java ecosystem.
Developers use the package as a full JDK rather than only a runtime: it provides java, javac, jar, javadoc, jshell, jlink, jpackage, Java Flight Recorder tooling, and diagnostic tools such as jcmd, jmap, jstack, and jstat. In practice it is installed to compile Java code, run application servers and build tools, create custom runtime images, inspect production JVMs, and match an LTS target in CI.
For package consumers, openjdk@17 is valuable because it pins the toolchain to a stable Java language and class-library level. That matters for Gradle/Maven builds, language-server setups, container images, and projects whose dependencies certify against Java 17 rather than a moving latest-JDK target.
OpenJDK 17 is a package-manager anchor: it is old enough to be a compatibility baseline and new enough to include the post-Java-9 module-era JDK shape. Its formula preserves a vendor-neutral GPL-with-Classpath-exception build of the Java toolchain while newer OpenJDK formulae continue to advance.
The package is also a reminder that language runtimes often need versioned slots. A single unversioned JDK package cannot serve every build, because bytecode targets, compiler behavior, preview/incubator APIs, security updates, and vendor LTS windows all affect reproducible builds.
安全态势
没有找到 openjdk@17 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。
在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。
可执行文件
| 命令 | 类型 | 暴露范围 | 备注 |
|---|---|---|---|
| 没有可执行文件数据。 | |||
新鲜度
这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。
https://github.com/openjdk/jdk17u
安装元数据
| 软件包键 | brew:openjdk@17 |
|---|---|
| 版本 | 17.0.19 |
| 软件包管理器 | Homebrew |
| 软件包管理器页面 | https://formulae.brew.sh/formula/openjdk@17 |
| 主页 | https://openjdk.org/ |
| 仓库 | https://github.com/openjdk/jdk17u |
| 上游文档 | https://docs.oracle.com/en/java/javase/17 |
| 许可证 | GPL-2.0-only WITH Classpath-exception-2.0 |
| 源码归档 | https://github.com/openjdk/jdk17u/archive/refs/tags/jdk-17.0.19-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@17/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk-17.jdk |
注册表事实
| Source Database | Homebrew formula API |
|---|---|
| Tap | homebrew/core |
| Full Name | openjdk@17 |
| 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-17-dbg 17.0.11+9-1
Java runtime based on OpenJDK (debugging symbols)
sudo apt install openjdk-17-dbgopenjdk-17-demo 17.0.11+9-1
Java runtime based on OpenJDK (demos and examples)
sudo apt install openjdk-17-demoopenjdk-17-doc 17.0.11+9-1
OpenJDK Development Kit (JDK) documentation
sudo apt install openjdk-17-docopenjdk-17-jdk 17.0.11+9-1
OpenJDK Development Kit (JDK)
sudo apt install openjdk-17-jdkopenjdk-17-jdk-headless 17.0.11+9-1
OpenJDK Development Kit (JDK) (headless)
sudo apt install openjdk-17-jdk-headlessopenjdk-17-jre 17.0.11+9-1
OpenJDK Java runtime, using Hotspot JIT
sudo apt install openjdk-17-jreopenjdk-17-jre-headless 17.0.11+9-1
OpenJDK Java runtime, using Hotspot JIT (headless)
sudo apt install openjdk-17-jre-headlessopenjdk-17-jre-zero 17.0.11+9-1
Alternative JVM for OpenJDK, using Zero
sudo apt install openjdk-17-jre-zeroopenjdk-17-source 17.0.11+9-1
OpenJDK Development Kit (JDK) source files
sudo apt install openjdk-17-sourceopenjdk17
sudo port install openjdk17openjdk17
nix profile install nixpkgs#openjdk17openjdk17 17.0.19_p10-r0
Oracle OpenJDK 17
https://github.com/openjdk/jdk17u
sudo apk add openjdk17openjdk17-demos 17.0.19_p10-r0
Oracle OpenJDK 17 (demos)
https://github.com/openjdk/jdk17u
sudo apk add openjdk17-demosopenjdk17-doc 17.0.19_p10-r0
Oracle OpenJDK 17 (Documentation)
https://github.com/openjdk/jdk17u
sudo apk add openjdk17-docopenjdk17-jdk 17.0.19_p10-r0
Oracle OpenJDK 17 (JDK) (server variant)
https://github.com/openjdk/jdk17u
sudo apk add openjdk17-jdkopenjdk17-jmods 17.0.19_p10-r0
Oracle OpenJDK 17 (jmods)
https://github.com/openjdk/jdk17u
sudo apk add openjdk17-jmods来源线索
此页面由 av-web 从 scripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。
View the package source record on GitHub.