Automic VaultAutomic Vault

brew

使用 Homebrew, apt, apk, chocolatey, MacPorts, Nix, winget 安装 openjdk@8

查看 openjdk@8 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

安装

其他安装命令

macOS

Homebrew已验证 · 100%
brew install openjdk@8

local Homebrew formula metadata

MacPorts已验证 · 94%
sudo port install openjdk8

MacPorts ports tree · java/openjdk8/Portfile · 来源: api.github.com

Windows

Chocolatey已验证 · 92%
choco install openjdk8

Chocolatey community package catalog · openjdk8 · 来源: community.chocolatey.org

Windows Package Manager已验证 · 92%
winget install --id Microsoft.OpenJDK.17 -e

Windows Package Manager source index · Microsoft.OpenJDK.17 · 来源: cdn.winget.microsoft.com

概览

软件包摘要

Development kit for the Java programming language

命令和别名

  • appletviewer
  • clhsdb
  • extcheck
  • hsdb
  • idlj
  • javah
  • jhat
  • jsadebugd
  • native2ascii
  • orbd
  • policytool
  • servertool
  • tnameserv
  • wsgen
  • wsimport
  • xjc

历史

项目历史与用法

OpenJDK 8 is the open-source reference implementation of Java SE 8, released on 18 March 2014. It is one of the most historically important Java packaging targets because it introduced lambda expressions to the Java language and became a long-lived compatibility baseline for enterprise and library ecosystems.

项目历史

The JDK 8 Project was created to produce the Java SE 8 reference implementation defined by JSR 337. Its release plan was reshaped after the original September 2013 target slipped; the final schedule reached General Availability on 18 March 2014.

OpenJDK describes JDK 8 as the second part of the Java 'Plan B' release strategy, with Project Lambda as the single driving feature. Project Jigsaw was originally proposed for the release but was dropped, while additional JEPs were included when they fit the schedule required for Lambda.

采用历史

JDK 8 became a durable baseline because lambdas, method references, default methods, and the core-library changes around functional-style programming altered everyday Java source code without requiring the later module-system migration introduced in Java 9. Many libraries and applications used Java 8 as the minimum runtime for years because it was the first Java line with those features.

The JDK 8 page notes that the original feature project was dissolved in February 2025 and that update releases are handled through the JDK 8 Updates Project. That split explains the package shape: openjdk@8 is a legacy version slot, not the place where new Java feature development happens.

使用方式

Developers install openjdk@8 to compile or run software that still targets Java 8 bytecode or depends on Java 8-era APIs and behavior. It is common in legacy application builds, older Android-adjacent tooling, enterprise middleware, and libraries that intentionally maintain Java 8 compatibility for downstream users.

The package includes the full JDK toolchain: java, javac, jar, javadoc, keytool, jdb, jcmd, jps, jstack, jstat, and related utilities. Its value is not novelty; it is being able to reproduce an older Java build environment exactly enough for maintenance work.

为什么软件包爱好者会关心

OpenJDK 8 is the classic argument for versioned runtime formulae. Removing it would simplify the package index but break a large class of real builds whose source or dependency policy still says 'Java 8'.

It also marks a boundary in Java packaging history: Java 8 is pre-module-system, pre-six-month-feature-cadence, and pre-modern preview/incubator workflow, yet it contains the Lambda-era language model that many Java libraries still treat as the floor.

时间线

  • 26 April 2012: JDK 8 milestone M1 began the public milestone sequence listed by the project.
  • 13 June 2013: the project reached feature complete at milestone M7.
  • 18 March 2014: JDK 8 reached General Availability.
  • February 2025: the original JDK 8 Project was dissolved, with JDK feature releases produced by the JDK Project and JDK 8 updates handled separately.

Related projects

  • JDK 8 is closely tied to Project Lambda and to the JDK 8 Updates Project. It also sits before the JDK 9 module-system era and before the JDK Project's later six-month release train.

安全态势

尚未找到受保护工具覆盖

没有找到 openjdk@8 的匹配本地密钥处理 manifest。Nucleus 软件包元数据仍在此发布,以便未来覆盖拥有稳定的软件包 URL。

安装行为

  • formula 元数据中未记录 Homebrew post-install 钩子。
  • Homebrew bottle 元数据适用于 3 个平台目标。
  • 安装时包含 2 个运行时依赖。
  • 构建元数据列出 3 个构建依赖。

建议审查

在无人值守的代理使用前,请检查该工具是否读取明文凭据、写入远程状态、发布制品或调用插件。

可执行文件

已安装的可执行文件

命令类型暴露范围备注
appletviewercli全局可执行文件
clhsdbcli全局可执行文件
extcheckcli全局可执行文件
hsdbcli全局可执行文件
idljcli全局可执行文件
javahcli全局可执行文件
jhatcli全局可执行文件
jsadebugdcli全局可执行文件
native2asciicli全局可执行文件
orbdcli全局可执行文件
policytoolcli全局可执行文件
servertoolcli全局可执行文件
tnameservcli全局可执行文件
wsgencli全局可执行文件
wsimportcli全局可执行文件
xjccli全局可执行文件

新鲜度

版本和新鲜度

这些信号区分页生成时间、软件包管理器活动和上游发布比较。只有存在证据 URL 和可比较版本时,才会提示版本落后。

页面生成时间2026-07-10
管理器版本1.8.0-492
管理器更新时间2026-06-22
本地数据OK
上游not checked
检测到的最新版本未检测到

https://github.com/openjdk/jdk8u

安装元数据

软件包元数据

软件包键brew:openjdk@8
版本1.8.0-492
软件包管理器Homebrew
软件包管理器页面https://formulae.brew.sh/formula/openjdk@8
主页https://openjdk.org/
仓库https://github.com/openjdk/jdk8u
上游文档https://docs.oracle.com/javase/8/docs
许可证GPL-2.0-only
源码归档https://github.com/openjdk/jdk8u/archive/refs/tags/jdk8u492-ga.tar.gz
最后更新2026-06-22T16:28:23-04:00
Pulseupdated
依赖freetype, giflib
构建依赖autoconf, gawk, pkgconf
Bottle可用 (于 arm64_linux, 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@8/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk-8.jdk

注册表事实

源数据库详情

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameopenjdk@8
Version Scheme0
Revision0
Requirements
  • arch
Bottle Stable Root URLhttps://ghcr.io/v2/homebrew/core
Deprecatedyes
Disabledno
Keg Onlyyes
URL Keys
  • stable

源数据库匹配

其他软件包管理器记录

匹配项来自外部软件包管理器索引,并与本地 Automic Vault 软件包链接分开显示。

Ubuntu apt95%

openjdk-8-dbg 8u402-ga-8build1

Java runtime based on OpenJDK (debugging symbols)

https://openjdk.org/projects/jdk8u/

sudo apt install openjdk-8-dbg
  • Section: universe/debug
  • Architecture: amd64
  • Source Package: openjdk-8
  • 1 依赖
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Openjdk 8
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: openjdk-8-dbg from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

openjdk-8-demo 8u402-ga-8build1

Java runtime based on OpenJDK (demos and examples)

https://openjdk.org/projects/jdk8u/

sudo apt install openjdk-8-demo
  • Section: universe/java
  • Architecture: amd64
  • Source Package: openjdk-8
  • 4 依赖
  • normalized package name match
  • 匹配方式:Openjdk 8
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: openjdk-8-demo from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

openjdk-8-doc 8u402-ga-8build1

OpenJDK Development Kit (JDK) documentation

https://openjdk.org/projects/jdk8u/

sudo apt install openjdk-8-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: openjdk-8
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Openjdk 8
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: openjdk-8-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

openjdk-8-jdk 8u402-ga-8build1

OpenJDK Development Kit (JDK)

https://openjdk.org/projects/jdk8u/

sudo apt install openjdk-8-jdk
  • Section: universe/java
  • Architecture: amd64
  • Source Package: openjdk-8
  • 5 依赖
  • 7 提供
  • 4 可选依赖
  • normalized package name match
  • 匹配方式:Openjdk 8
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: openjdk-8-jdk from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

openjdk-8-jdk-headless 8u402-ga-8build1

OpenJDK Development Kit (JDK) (headless)

https://openjdk.org/projects/jdk8u/

sudo apt install openjdk-8-jdk-headless
  • Section: universe/java
  • Architecture: amd64
  • Source Package: openjdk-8
  • 3 依赖
  • 6 提供
  • 2 可选依赖
  • normalized package name match
  • 匹配方式:Openjdk 8
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: openjdk-8-jdk-headless from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

openjdk-8-jre 8u402-ga-8build1

OpenJDK Java runtime, using Hotspot JIT

https://openjdk.org/projects/jdk8u/

sudo apt install openjdk-8-jre
  • Section: universe/java
  • Architecture: amd64
  • Source Package: openjdk-8
  • 17 依赖
  • 6 提供
  • 1 可选依赖
  • normalized package name match
  • 匹配方式:Openjdk 8
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: openjdk-8-jre from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

openjdk-8-jre-headless 8u402-ga-8build1

OpenJDK Java runtime, using Hotspot JIT (headless)

https://openjdk.org/projects/jdk8u/

sudo apt install openjdk-8-jre-headless
  • Section: universe/java
  • Architecture: amd64
  • Source Package: openjdk-8
  • 20 依赖
  • 6 提供
  • 8 可选依赖
  • normalized package name match
  • 匹配方式:Openjdk 8
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: openjdk-8-jre-headless from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

openjdk-8-jre-zero 8u402-ga-8build1

Alternative JVM for OpenJDK, using Zero

https://openjdk.org/projects/jdk8u/

sudo apt install openjdk-8-jre-zero
  • Section: universe/java
  • Architecture: amd64
  • Source Package: openjdk-8
  • 3 依赖
  • normalized package name match
  • 匹配方式:Openjdk 8
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: openjdk-8-jre-zero from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

openjdk-8-source 8u402-ga-8build1

OpenJDK Development Kit (JDK) source files

https://openjdk.org/projects/jdk8u/

sudo apt install openjdk-8-source
  • Section: universe/java
  • Architecture: all
  • Source Package: openjdk-8
  • 2 依赖
  • normalized package name match
  • 匹配方式:Openjdk 8
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: openjdk-8-source from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
MacPorts94%

openjdk8

sudo port install openjdk8
  • package manager index match
  • 匹配方式:Openjdk8
MacPorts ports tree · api.github.com · MacPorts ports tree: java/openjdk8/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Nix92%

openjdk8

nix profile install nixpkgs#openjdk8
  • package manager index match
  • 匹配方式:Openjdk8
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: openjdk8 from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
apk92%

openjdk8 8.482.08-r0

OpenJDK 8 provided by IcedTea

https://icedtea.classpath.org/

sudo apk add openjdk8
  • License: custom
  • Architecture: x86_64
  • Source Package: openjdk8
  • 1 依赖
  • 1 提供
  • package manager index match
  • 匹配方式:Openjdk8
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: openjdk8 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

openjdk8-dbg 8.482.08-r0

OpenJDK 8 provided by IcedTea (debug symbols)

https://icedtea.classpath.org/

sudo apk add openjdk8-dbg
  • License: custom
  • Architecture: x86_64
  • Source Package: openjdk8
  • 1 依赖
  • package manager index match
  • 匹配方式:Openjdk8
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: openjdk8-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

openjdk8-demos 8.482.08-r0

OpenJDK 8 Java Demos and Samples

https://icedtea.classpath.org/

sudo apk add openjdk8-demos
  • License: custom
  • Architecture: x86_64
  • Source Package: openjdk8
  • 1 依赖
  • package manager index match
  • 匹配方式:Openjdk8
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: openjdk8-demos from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

openjdk8-doc 8.482.08-r0

OpenJDK 8 provided by IcedTea (documentation)

https://icedtea.classpath.org/

sudo apk add openjdk8-doc
  • License: custom
  • Architecture: x86_64
  • Source Package: openjdk8
  • package manager index match
  • 匹配方式:Openjdk8
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: openjdk8-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

openjdk8-jdk 8.482.08-r0

OpenJDK 8 provided by IcedTea (JDK)

https://icedtea.classpath.org/

sudo apk add openjdk8-jdk
  • License: custom
  • Architecture: x86_64
  • Source Package: openjdk8
  • 1 依赖
  • 1 提供
  • package manager index match
  • 匹配方式:Openjdk8
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: openjdk8-jdk from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

来源线索

由仓库数据生成

此页面由 av-webscripts/generate-pkg-sqlite.py 生成的私有软件包 SQLite 工件提供。

使用的来源

  • Nucleus package database
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment