# Install openjdk@8 with Homebrew, apt, apk, chocolatey, MacPorts, Nix, winget

Development kit for the Java programming language. Version 1.8.0-492 via Homebrew; verified 2026-06-22.

## Install

```sh
sudo av install brew:openjdk@8
```

Additional install commands:

### macOS

- Homebrew (100%):

```sh
brew install openjdk@8
```

  Evidence: local Homebrew formula metadata

- MacPorts (94%):

```sh
sudo port install openjdk8
```

  Evidence: MacPorts ports tree: java/openjdk8/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1

### Linux

- Ubuntu apt (92%):

```sh
sudo apt install openjdk-8-dbg
```

  Evidence: Ubuntu 24.04 LTS package indexes: openjdk-8-dbg from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz

- apk (92%):

```sh
sudo apk add openjdk8
```

  Evidence: Alpine Linux edge package indexes: openjdk8 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

- Nix (92%):

```sh
nix profile install nixpkgs#openjdk8
```

  Evidence: nixpkgs package indexes: openjdk8 from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix

### Windows

- Chocolatey (92%):

```sh
choco install openjdk8
```

  Evidence: Chocolatey community package catalog: openjdk8 from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','office365homepremium'

- winget (92%):

```sh
winget install --id Microsoft.OpenJDK.17 -e
```

  Evidence: Windows Package Manager source index: Microsoft.OpenJDK.17 from https://cdn.winget.microsoft.com/cache/source.msix

## Package facts

- **Package key:** brew:openjdk@8
- **Package manager:** Homebrew
- **Package manager page:** <https://formulae.brew.sh/formula/openjdk@8>
- **Version:** 1.8.0-492
- **Source summary:** Development kit for the Java programming language
- **Homepage:** <https://openjdk.org/>
- **Repository:** <https://github.com/openjdk/jdk8u>
- **Upstream docs:** <https://docs.oracle.com/javase/8/docs>
- **License:** GPL-2.0-only
- **Source archive:** <https://github.com/openjdk/jdk8u/archive/refs/tags/jdk8u492-ga.tar.gz>
- **Last updated:** 2026-06-22T16:28:23-04:00
- **Generated:** 2026-07-08T07:18:31+00:00

## Executables

- appletviewer (cli)
- clhsdb (cli)
- extcheck (cli)
- hsdb (cli)
- idlj (cli)
- javah (cli)
- jhat (cli)
- jsadebugd (cli)
- native2ascii (cli)
- orbd (cli)
- policytool (cli)
- servertool (cli)
- tnameserv (cli)
- wsgen (cli)
- wsimport (cli)
- xjc (cli)
- appletviewer (alias)
- clhsdb (alias)
- extcheck (alias)
- hsdb (alias)
- idlj (alias)
- javah (alias)
- jhat (alias)
- jsadebugd (alias)
- native2ascii (alias)
- orbd (alias)
- policytool (alias)
- servertool (alias)
- tnameserv (alias)
- wsgen (alias)
- wsimport (alias)
- xjc (alias)

## Dependencies

- freetype
- giflib

## Build dependencies

- autoconf
- gawk
- pkgconf

## Install behavior

- Post-install hook: not defined
- Caveats: 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
- Bottle: available on arm64_linux, sonoma, x86_64_linux

## Freshness

- Page generated: 2026-07-08
- Package-manager version: 1.8.0-492
- Package-manager updated: 2026-06-22
- Local data: ok
- Upstream repository: https://github.com/openjdk/jdk8u
- info: No cached GitHub release or tag data was available.
## Project history and usage

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.

### Project history

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.

### Adoption history

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.

### How it is used

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.

### Why package nerds care

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.

### Timeline

- 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.

### Sources

- <https://docs.oracle.com/javase/8/docs/>
- <https://github.com/openjdk/jdk8u>
- <https://openjdk.org/jeps/126>
- <https://openjdk.org/projects/jdk8/>
- <https://openjdk.org/projects/jdk8/features>


## Security Notes

No matching local secret-handling manifest was found for openjdk@8. Nucleus package metadata is still published here so future coverage has a stable package URL.


## Source Database Details

- **Source Database:** Homebrew formula API
- **Tap:** homebrew/core
- **Full Name:** openjdk@8
- **Version Scheme:** 0
- **Revision:** 0
- **Requirements:** arch
- **Bottle Stable Root URL:** <https://ghcr.io/v2/homebrew/core>
- **Deprecated:** yes
- **Disabled:** no
- **Keg Only:** yes
- **URL Keys:** stable

## Other Package-Manager Records

- Ubuntu apt - openjdk-8-dbg - 8u402-ga-8build1: normalized package name match | Ubuntu 24.04 LTS package indexes: openjdk-8-dbg from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Java runtime based on OpenJDK (debugging symbols) | https://openjdk.org/projects/jdk8u/
- Ubuntu apt - openjdk-8-demo - 8u402-ga-8build1: normalized package name match | Ubuntu 24.04 LTS package indexes: openjdk-8-demo from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Java runtime based on OpenJDK (demos and examples) | https://openjdk.org/projects/jdk8u/
- Ubuntu apt - openjdk-8-doc - 8u402-ga-8build1: normalized package name match | Ubuntu 24.04 LTS package indexes: openjdk-8-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | OpenJDK Development Kit (JDK) documentation | https://openjdk.org/projects/jdk8u/
- Ubuntu apt - openjdk-8-jdk - 8u402-ga-8build1: normalized package name match | Ubuntu 24.04 LTS package indexes: openjdk-8-jdk from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | OpenJDK Development Kit (JDK) | https://openjdk.org/projects/jdk8u/
- Ubuntu apt - openjdk-8-jdk-headless - 8u402-ga-8build1: normalized package name match | Ubuntu 24.04 LTS package indexes: openjdk-8-jdk-headless from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | OpenJDK Development Kit (JDK) (headless) | https://openjdk.org/projects/jdk8u/
- Ubuntu apt - openjdk-8-jre - 8u402-ga-8build1: normalized package name match | Ubuntu 24.04 LTS package indexes: openjdk-8-jre from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | OpenJDK Java runtime, using Hotspot JIT | https://openjdk.org/projects/jdk8u/
- Ubuntu apt - openjdk-8-jre-headless - 8u402-ga-8build1: normalized package name match | Ubuntu 24.04 LTS package indexes: openjdk-8-jre-headless from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | OpenJDK Java runtime, using Hotspot JIT (headless) | https://openjdk.org/projects/jdk8u/
- Ubuntu apt - openjdk-8-jre-zero - 8u402-ga-8build1: normalized package name match | Ubuntu 24.04 LTS package indexes: openjdk-8-jre-zero from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | Alternative JVM for OpenJDK, using Zero | https://openjdk.org/projects/jdk8u/
- Ubuntu apt - openjdk-8-source - 8u402-ga-8build1: normalized package name match | Ubuntu 24.04 LTS package indexes: openjdk-8-source from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz | OpenJDK Development Kit (JDK) source files | https://openjdk.org/projects/jdk8u/
- MacPorts - openjdk8: package manager index match | MacPorts ports tree: java/openjdk8/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
- Nix - openjdk8: package manager index match | nixpkgs package indexes: openjdk8 from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
- apk - openjdk8 - 8.482.08-r0: package manager index match | Alpine Linux edge package indexes: openjdk8 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | OpenJDK 8 provided by IcedTea | https://icedtea.classpath.org/
- apk - openjdk8-dbg - 8.482.08-r0: package manager index match | Alpine Linux edge package indexes: openjdk8-dbg from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | OpenJDK 8 provided by IcedTea (debug symbols) | https://icedtea.classpath.org/
- apk - openjdk8-demos - 8.482.08-r0: package manager index match | Alpine Linux edge package indexes: openjdk8-demos from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | OpenJDK 8 Java Demos and Samples | https://icedtea.classpath.org/
- apk - openjdk8-doc - 8.482.08-r0: package manager index match | Alpine Linux edge package indexes: openjdk8-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | OpenJDK 8 provided by IcedTea (documentation) | https://icedtea.classpath.org/
- apk - openjdk8-jdk - 8.482.08-r0: package manager index match | Alpine Linux edge package indexes: openjdk8-jdk from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz | OpenJDK 8 provided by IcedTea (JDK) | https://icedtea.classpath.org/


## Related links

- [Language runtime packages](https://www.automicvault.com/pkg/language-runtime-packages/) - Matched language runtime, compiler, or interpreter metadata.
- [Networking and protocol packages](https://www.automicvault.com/pkg/networking-protocol-tools/) - Matched network, protocol, or remote-service metadata.
- [freetype](https://www.automicvault.com/pkg/brew/freetype/) - Runtime dependency declared by Homebrew.
- [giflib](https://www.automicvault.com/pkg/brew/giflib/) - Runtime dependency declared by Homebrew.
- [autoconf](https://www.automicvault.com/pkg/brew/autoconf/) - Build dependency declared by Homebrew.
- [gawk](https://www.automicvault.com/pkg/brew/gawk/) - Build dependency declared by Homebrew.
- [pkgconf](https://www.automicvault.com/pkg/brew/pkgconf/) - Build dependency declared by Homebrew.
- [amdatu-bootstrap](https://www.automicvault.com/pkg/brew/amdatu-bootstrap/) - Popular package that depends on this formula.
- [jvmtop](https://www.automicvault.com/pkg/brew/jvmtop/) - Popular package that depends on this formula.
- [zanata-client](https://www.automicvault.com/pkg/brew/zanata-client/) - Popular package that depends on this formula.
- [openjdk](https://www.automicvault.com/pkg/brew/openjdk/) - Package name indicates the same formula family.
- [openjdk@11](https://www.automicvault.com/pkg/brew/openjdk-11/) - Package name indicates the same formula family.
- [openjdk@17](https://www.automicvault.com/pkg/brew/openjdk-17/) - Package name indicates the same formula family.
- [openjdk@21](https://www.automicvault.com/pkg/brew/openjdk-21/) - Package name indicates the same formula family.
- [openjdk@25](https://www.automicvault.com/pkg/brew/openjdk-25/) - Package name indicates the same formula family.

## Combined YAML source

View the package source record on GitHub. [combined/openjdk@8.yml](https://github.com/automic-vault/db/blob/main/combined/openjdk@8.yml)


## Sources

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