Automic VaultAutomic Vault

brew

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

Development kit for the Java programming language. Version 17.0.19 via Homebrew; verified 2026-06-25.

install

Additional install commands

macOS

Homebrewverified · 100%
brew install openjdk@17

local Homebrew formula metadata

MacPortsverified · 94%
sudo port install openjdk17

MacPorts ports tree · java/openjdk17/Portfile · source: api.github.com

Windows

Chocolateyverified · 92%
choco install openjdk17

Chocolatey community package catalog · openjdk17 · source: community.chocolatey.org

Windows Package Managerverified · 92%
winget install --id Microsoft.OpenJDK.17 -e

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

overview

Package summary

Development kit for the Java programming language

Commands and aliases

No executable aliases were found in the local package database.

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 14 September 2021: JDK 17 reached General Availability as the Java SE 17 reference implementation.
  • JDK 17 feature cycle: sealed classes were finalized after preview in JDK 15 and JDK 16; strong encapsulation of internals and macOS/AArch64 support landed as part of the same release train.
  • After GA: update work moved to the jdk17u line, while the OpenJDK JDK Project continued six-month feature releases.

Related projects

  • OpenJDK 17 sits between the JDK 11 and JDK 21 LTS generations. It is maintained through the JDK Updates effort, while experimental and longer-horizon work around Panama, Valhalla, Loom, Amber, and other OpenJDK projects feeds later feature releases.

security posture

No protected-tool coverage found yet

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

Install behavior

  • No Homebrew post-install hook is recorded in formula metadata.
  • Homebrew bottle metadata is available for 6 platform targets.
  • Installs with 6 runtime dependencies.
  • Build metadata lists 2 build dependencies.

Recommended review

Before unattended agent use, check whether the tool reads plaintext credentials, writes remote state, publishes artifacts, or shells out to plugins.

executables

Installed executables

CommandKindExposureNote
No executable data was present.

freshness

Version and freshness

These signals separate page generation age, package-manager activity, and upstream release comparison. Version lag is warned only when an evidence URL and comparable versions are present.

page generated2026-07-08
manager version17.0.19
manager updated2026-06-25
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/openjdk/jdk17u

install metadata

Package metadata

Package keybrew:openjdk@17
Version17.0.19
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/openjdk@17
Homepagehttps://openjdk.org/
Repositoryhttps://github.com/openjdk/jdk17u
Upstream docshttps://docs.oracle.com/en/java/javase/17
LicenseGPL-2.0-only WITH Classpath-exception-2.0
Source archivehttps://github.com/openjdk/jdk17u/archive/refs/tags/jdk-17.0.19-ga.tar.gz
Last updated2026-06-25T13:37:59+02:00
Pulseupdated
Dependenciesfreetype, giflib, harfbuzz, jpeg-turbo, libpng, little-cms2
Build dependenciesautoconf, pkgconf
Bottleavailable (on arm64_linux, arm64_sequoia, arm64_sonoma, arm64_tahoe, sonoma, x86_64_linux)
Homebrew post-installnot defined
Servicenone declared
CaveatsFor 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

registry facts

Source database details

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

source database matches

Other package-manager records

Matches are pulled from external package-manager indexes and kept separate from local Automic Vault package links.

Ubuntu apt95%

openjdk-17-dbg 17.0.11+9-1

Java runtime based on OpenJDK (debugging symbols)

https://openjdk.java.net/

sudo apt install openjdk-17-dbg
  • Section: debug
  • Architecture: amd64
  • Source Package: openjdk-17
  • 1 dependencies
  • 2 optional deps
  • normalized package name match
  • Matched by: Openjdk 17
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: openjdk-17-dbg from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

openjdk-17-demo 17.0.11+9-1

Java runtime based on OpenJDK (demos and examples)

https://openjdk.java.net/

sudo apt install openjdk-17-demo
  • Section: universe/java
  • Architecture: amd64
  • Source Package: openjdk-17
  • 1 dependencies
  • normalized package name match
  • Matched by: Openjdk 17
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: openjdk-17-demo from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

openjdk-17-doc 17.0.11+9-1

OpenJDK Development Kit (JDK) documentation

https://openjdk.java.net/

sudo apt install openjdk-17-doc
  • Section: universe/doc
  • Architecture: all
  • Source Package: openjdk-17
  • 3 dependencies
  • 1 optional deps
  • normalized package name match
  • Matched by: Openjdk 17
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: openjdk-17-doc from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

openjdk-17-jdk 17.0.11+9-1

OpenJDK Development Kit (JDK)

https://openjdk.java.net/

sudo apt install openjdk-17-jdk
  • Section: java
  • Architecture: amd64
  • Source Package: openjdk-17
  • 4 dependencies
  • 16 provides
  • 4 optional deps
  • normalized package name match
  • Matched by: Openjdk 17
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: openjdk-17-jdk from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

openjdk-17-jdk-headless 17.0.11+9-1

OpenJDK Development Kit (JDK) (headless)

https://openjdk.java.net/

sudo apt install openjdk-17-jdk-headless
  • Section: java
  • Architecture: amd64
  • Source Package: openjdk-17
  • 3 dependencies
  • 16 provides
  • 2 optional deps
  • normalized package name match
  • Matched by: Openjdk 17
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: openjdk-17-jdk-headless from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

openjdk-17-jre 17.0.11+9-1

OpenJDK Java runtime, using Hotspot JIT

https://openjdk.java.net/

sudo apt install openjdk-17-jre
  • Section: java
  • Architecture: amd64
  • Source Package: openjdk-17
  • 24 dependencies
  • 15 provides
  • 2 optional deps
  • normalized package name match
  • Matched by: Openjdk 17
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: openjdk-17-jre from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

openjdk-17-jre-headless 17.0.11+9-1

OpenJDK Java runtime, using Hotspot JIT (headless)

https://openjdk.java.net/

sudo apt install openjdk-17-jre-headless
  • Section: java
  • Architecture: amd64
  • Source Package: openjdk-17
  • 11 dependencies
  • 15 provides
  • 12 optional deps
  • normalized package name match
  • Matched by: Openjdk 17
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: openjdk-17-jre-headless from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
Ubuntu apt95%

openjdk-17-jre-zero 17.0.11+9-1

Alternative JVM for OpenJDK, using Zero

https://openjdk.java.net/

sudo apt install openjdk-17-jre-zero
  • Section: universe/java
  • Architecture: amd64
  • Source Package: openjdk-17
  • 4 dependencies
  • normalized package name match
  • Matched by: Openjdk 17
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: openjdk-17-jre-zero from https://archive.ubuntu.com/ubuntu/dists/noble/universe/binary-amd64/Packages.gz
Ubuntu apt95%

openjdk-17-source 17.0.11+9-1

OpenJDK Development Kit (JDK) source files

https://openjdk.java.net/

sudo apt install openjdk-17-source
  • Section: java
  • Architecture: all
  • Source Package: openjdk-17
  • 1 dependencies
  • normalized package name match
  • Matched by: Openjdk 17
Ubuntu 24.04 LTS package indexes · archive.ubuntu.com · Ubuntu 24.04 LTS package indexes: openjdk-17-source from https://archive.ubuntu.com/ubuntu/dists/noble/main/binary-amd64/Packages.gz
MacPorts94%

openjdk17

sudo port install openjdk17
  • package manager index match
  • Matched by: Openjdk17
MacPorts ports tree · api.github.com · MacPorts ports tree: java/openjdk17/Portfile from https://api.github.com/repos/macports/macports-ports/git/trees/master?recursive=1
Nix92%

openjdk17

nix profile install nixpkgs#openjdk17
  • package manager index match
  • Matched by: Openjdk17
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: openjdk17 from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
apk92%

openjdk17 17.0.19_p10-r0

Oracle OpenJDK 17

https://github.com/openjdk/jdk17u

sudo apk add openjdk17
  • License: GPL-2.0-with-classpath-exception
  • Architecture: x86_64
  • Source Package: openjdk17
  • 1 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Openjdk17
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: openjdk17 from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

openjdk17-demos 17.0.19_p10-r0

Oracle OpenJDK 17 (demos)

https://github.com/openjdk/jdk17u

sudo apk add openjdk17-demos
  • License: GPL-2.0-with-classpath-exception
  • Architecture: x86_64
  • Source Package: openjdk17
  • package manager index match
  • Matched by: Openjdk17
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: openjdk17-demos from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

openjdk17-doc 17.0.19_p10-r0

Oracle OpenJDK 17 (Documentation)

https://github.com/openjdk/jdk17u

sudo apk add openjdk17-doc
  • License: GPL-2.0-with-classpath-exception
  • Architecture: x86_64
  • Source Package: openjdk17
  • package manager index match
  • Matched by: Openjdk17
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: openjdk17-doc from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

openjdk17-jdk 17.0.19_p10-r0

Oracle OpenJDK 17 (JDK) (server variant)

https://github.com/openjdk/jdk17u

sudo apk add openjdk17-jdk
  • License: GPL-2.0-with-classpath-exception
  • Architecture: x86_64
  • Source Package: openjdk17
  • 1 dependencies
  • 1 provides
  • package manager index match
  • Matched by: Openjdk17
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: openjdk17-jdk from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz
apk92%

openjdk17-jmods 17.0.19_p10-r0

Oracle OpenJDK 17 (jmods)

https://github.com/openjdk/jdk17u

sudo apk add openjdk17-jmods
  • License: GPL-2.0-with-classpath-exception
  • Architecture: x86_64
  • Source Package: openjdk17
  • package manager index match
  • Matched by: Openjdk17
Alpine Linux edge package indexes · dl-cdn.alpinelinux.org · Alpine Linux edge package indexes: openjdk17-jmods from https://dl-cdn.alpinelinux.org/alpine/edge/community/x86_64/APKINDEX.tar.gz

source trail

Generated from repository data

This page is generated by av-web from the private package SQLite artifact built by scripts/generate-pkg-sqlite.py.

Used sources

  • 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