Automic VaultAutomic Vault

brew

Install openjdk with Homebrew, chocolatey, Nix, winget, dnf, zypper

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

install

Additional install commands

macOS

Homebrewverified · 100%
brew install openjdk

local Homebrew formula metadata

Windows

Chocolateyverified · 92%
choco install openjdk

Chocolatey community package catalog · openjdk · 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

  • 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

history

Project history and usage

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.

Project history

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.

Adoption history

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.

How it is used

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.

Why package nerds care

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.

Timeline

  • 2006: Sun Microsystems announced the initiative that led to OpenJDK.
  • 2007: Red Hat signed Sun's OpenJDK contributor and TCK agreements, becoming a major outside participant in the project.
  • 2018: the OpenJDK Community adopted the six-month tip-and-tail release model beginning with JDK 10.
  • The JDK Project release list records JDK 11 general availability on 25 September 2018 and subsequent feature releases on a six-month cadence.

Related projects

  • OpenJDK is related to HotSpot, javac, Project Amber, Project Loom, Project Panama, Project Valhalla, OpenJDK update projects, Eclipse OpenJ9, and downstream distributions such as Oracle OpenJDK builds, Red Hat OpenJDK builds, Microsoft Build of OpenJDK, Amazon Corretto, Azul Zulu, SAP SapMachine, and Eclipse Temurin.

security posture

Risk level: yellow

Java runtime and development kit.

Risk classifier

yellow risk · high confidence · runtime

Why

  • Java runtime and development kit

Signals

  • override:openjdk

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
jarcliglobal executable
jarsignercliglobal executable
javacliglobal executable
javaccliglobal executable
javadoccliglobal executable
javapcliglobal executable
jcmdcliglobal executable
jconsolecliglobal executable
jdbcliglobal executable
jdeprscancliglobal executable
jdepscliglobal executable
jfrcliglobal executable
jhsdbcliglobal executable
jimagecliglobal executable
jinfocliglobal executable
jlinkcliglobal executable
jmapcliglobal executable
jmodcliglobal executable
jnativescancliglobal executable
jpackagecliglobal executable
jpscliglobal executable
jshellcliglobal executable
jstackcliglobal executable
jstatcliglobal executable
jstatdcliglobal executable
jwebservercliglobal executable
keytoolcliglobal executable
rmiregistrycliglobal executable
serialvercliglobal executable

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 version26.0.1
manager updated2026-06-25
local dataok
upstreamnot checked
latest detectednot detected

https://github.com/openjdk/jdk26u

install metadata

Package metadata

Package keybrew:openjdk
Version26.0.1
Package managerHomebrew
Package manager pagehttps://formulae.brew.sh/formula/openjdk
Homepagehttps://openjdk.org/
Repositoryhttps://github.com/openjdk/jdk26u
Upstream docshttps://docs.oracle.com/en/java/javase
LicenseGPL-2.0-only WITH Classpath-exception-2.0
Source archivehttps://github.com/openjdk/jdk26u/archive/refs/tags/jdk-26.0.1-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/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk

registry facts

Source database details

Source DatabaseHomebrew formula API
Taphomebrew/core
Full Nameopenjdk
Aliases
  • java
  • openjdk@26
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.

Nix95%

openjdk

nix profile install nixpkgs#openjdk
  • normalized package name match
  • Matched by: Openjdk
nixpkgs package indexes · raw.githubusercontent.com · nixpkgs package indexes: openjdk from https://raw.githubusercontent.com/NixOS/nixpkgs/master/pkgs/top-level/all-packages.nix
Chocolatey95%

openjdk

choco install openjdk
  • normalized package name match
  • Matched by: Openjdk
Chocolatey community package catalog · community.chocolatey.org · Chocolatey community package catalog: openjdk from http://community.chocolatey.org/api/v2/Packages?$filter=IsLatestVersion&$select=Id&$top=1000&$skiptoken='11','office365homepremium'
winget95%

Microsoft.OpenJDK.17

winget install --id Microsoft.OpenJDK.17 -e
  • normalized package name match
  • Matched by: Openjdk
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: Microsoft.OpenJDK.17 from https://cdn.winget.microsoft.com/cache/source.msix
winget95%

ojdkbuild.ojdkbuild

winget install --id ojdkbuild.ojdkbuild -e
  • normalized package name match
  • Matched by: Openjdk
Windows Package Manager source index · cdn.winget.microsoft.com · Windows Package Manager source index: ojdkbuild.ojdkbuild from https://cdn.winget.microsoft.com/cache/source.msix
dnf92%

java-25-openjdk 25.0.3.0.9-2.fc45

OpenJDK 25 Runtime Environment

http://openjdk.java.net/

sudo dnf install java-25-openjdk
  • License: Apache-1.1 AND Apache-2.0 AND LicenseRef-Callaway-BSD AND LicenseRef-Callaway-BSD-with-advertising AND GPL-1.0-or-later AND GPL-2.0-only AND
  • Category: Unspecified
  • Architecture: x86_64
  • Source Package: java-25-openjdk
  • 14 dependencies
  • 10 provides
  • installed executable or alias match
  • Matched by: Java
Fedora Rawhide package metadata · dl.fedoraproject.org · Fedora Rawhide package metadata: java-25-openjdk from https://dl.fedoraproject.org/pub/fedora/linux/development/rawhide/Everything/x86_64/os/repodata/e5ca8ce900cd68f5419e1c39ae517343100b306336cbaeb70a3c153121d95094-primary.xml.zst
zypper92%

java-11-openj9 11.0.31.0-4.1

OpenJDK 11 Runtime Environment with Eclipse OpenJ9 virtual machine

https://openjdk.java.net/

sudo zypper install java-11-openj9
  • License: Apache-1.1 AND Apache-2.0 AND EPL-2.0 AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-only WITH Classpath-exception-2.0 AND LGPL-2.0-only AND MPL-1.0 AND
  • Category: Development/Languages/Java
  • Architecture: x86_64
  • Source Package: java-11-openj9
  • 16 dependencies
  • 32 provides
  • installed executable or alias match
  • Matched by: Java
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: java-11-openj9 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

java-11-openjdk 11.0.31.0-3.1

OpenJDK 11 Runtime Environment

https://openjdk.java.net/

sudo zypper install java-11-openjdk
  • License: Apache-1.1 AND Apache-2.0 AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-only WITH Classpath-exception-2.0 AND LGPL-2.0-only AND MPL-1.0 AND MPL-1.1 AND
  • Category: Development/Languages/Java
  • Architecture: x86_64
  • Source Package: java-11-openjdk
  • 15 dependencies
  • 27 provides
  • installed executable or alias match
  • Matched by: Java
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: java-11-openjdk from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

java-17-openj9 17.0.19.0-4.1

OpenJDK 17 Runtime Environment with Eclipse OpenJ9 virtual machine

https://openjdk.java.net/

sudo zypper install java-17-openj9
  • License: Apache-1.1 AND Apache-2.0 AND EPL-2.0 AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-only WITH Classpath-exception-2.0 AND LGPL-2.0-only AND MPL-1.0 AND
  • Category: Development/Languages/Java
  • Architecture: x86_64
  • Source Package: java-17-openj9
  • 16 dependencies
  • 32 provides
  • installed executable or alias match
  • Matched by: Java
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: java-17-openj9 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

java-17-openjdk 17.0.19.0-4.1

OpenJDK 17 Runtime Environment

https://openjdk.java.net/

sudo zypper install java-17-openjdk
  • License: Apache-1.1 AND Apache-2.0 AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-only WITH Classpath-exception-2.0 AND LGPL-2.0-only AND MPL-1.0 AND MPL-1.1 AND
  • Category: Development/Languages/Java
  • Architecture: x86_64
  • Source Package: java-17-openjdk
  • 15 dependencies
  • 27 provides
  • installed executable or alias match
  • Matched by: Java
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: java-17-openjdk from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

java-1_8_0-openj9 1.8.0.492-4.1

OpenJDK 8 Runtime Environment with Eclipse OpenJ9 virtual machine

https://www.eclipse.org/openj9/

sudo zypper install java-1_8_0-openj9
  • License: Apache-1.1 AND Apache-2.0 AND EPL-2.0 AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-only WITH Classpath-exception-2.0 AND LGPL-2.0-only AND MPL-1.0 AND
  • Category: Development/Languages/Java
  • Architecture: x86_64
  • Source Package: java-1_8_0-openj9
  • 19 dependencies
  • 31 provides
  • installed executable or alias match
  • Matched by: Java
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: java-1_8_0-openj9 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

java-1_8_0-openjdk 1.8.0.492-3.1

OpenJDK 8 Runtime Environment

https://openjdk.java.net/

sudo zypper install java-1_8_0-openjdk
  • License: Apache-1.1 AND Apache-2.0 AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-only WITH Classpath-exception-2.0 AND LGPL-2.0-only AND MPL-1.0 AND MPL-1.1 AND
  • Category: Development/Languages/Java
  • Architecture: x86_64
  • Source Package: java-1_8_0-openjdk
  • 19 dependencies
  • 26 provides
  • installed executable or alias match
  • Matched by: Java
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: java-1_8_0-openjdk from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

java-21-openj9 21.0.11.0-4.1

OpenJDK 21 Runtime Environment with Eclipse OpenJ9 virtual machine

https://openjdk.java.net/

sudo zypper install java-21-openj9
  • License: Apache-1.1 AND Apache-2.0 AND EPL-2.0 AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-only WITH Classpath-exception-2.0 AND LGPL-2.0-only AND MPL-1.0 AND
  • Category: Development/Languages/Java
  • Architecture: x86_64
  • Source Package: java-21-openj9
  • 16 dependencies
  • 32 provides
  • installed executable or alias match
  • Matched by: Java
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: java-21-openj9 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

java-21-openjdk 21.0.11.0-3.1

OpenJDK 21 Runtime Environment

https://openjdk.java.net/

sudo zypper install java-21-openjdk
  • License: Apache-1.1 AND Apache-2.0 AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-only WITH Classpath-exception-2.0 AND LGPL-2.0-only AND MPL-1.0 AND MPL-1.1 AND
  • Category: Development/Languages/Java
  • Architecture: x86_64
  • Source Package: java-21-openjdk
  • 15 dependencies
  • 27 provides
  • installed executable or alias match
  • Matched by: Java
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: java-21-openjdk from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

java-25-openj9 25.0.3.0-4.1

OpenJDK 25 Runtime Environment with Eclipse OpenJ9 virtual machine

https://openjdk.java.net/

sudo zypper install java-25-openj9
  • License: Apache-1.1 AND Apache-2.0 AND EPL-2.0 AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-only WITH Classpath-exception-2.0 AND LGPL-2.0-only AND MPL-1.0 AND
  • Category: Development/Languages/Java
  • Architecture: x86_64
  • Source Package: java-25-openj9
  • 17 dependencies
  • 32 provides
  • installed executable or alias match
  • Matched by: Java
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: java-25-openj9 from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

java-25-openjdk 25.0.3.0-3.1

OpenJDK 25 Runtime Environment

https://openjdk.java.net/

sudo zypper install java-25-openjdk
  • License: Apache-1.1 AND Apache-2.0 AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-only WITH Classpath-exception-2.0 AND LGPL-2.0-only AND MPL-1.0 AND MPL-1.1 AND
  • Category: Development/Languages/Java
  • Architecture: x86_64
  • Source Package: java-25-openjdk
  • 16 dependencies
  • 27 provides
  • installed executable or alias match
  • Matched by: Java
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: java-25-openjdk from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst
zypper92%

java-26-openjdk 26.0.1.0-2.1

OpenJDK 26 Runtime Environment

https://openjdk.java.net/

sudo zypper install java-26-openjdk
  • License: Apache-1.1 AND Apache-2.0 AND GPL-1.0-or-later AND GPL-2.0-only AND GPL-2.0-only WITH Classpath-exception-2.0 AND LGPL-2.0-only AND MPL-1.0 AND MPL-1.1 AND
  • Category: Development/Languages/Java
  • Architecture: x86_64
  • Source Package: java-26-openjdk
  • 16 dependencies
  • 27 provides
  • installed executable or alias match
  • Matched by: Java
openSUSE Tumbleweed package metadata · download.opensuse.org · openSUSE Tumbleweed package metadata: java-26-openjdk from https://download.opensuse.org/tumbleweed/repo/oss/repodata/be8d3611d25469107f32075a1697e69ec57a2b850b42348a658cc671ad5ec2b50760d02c3e59524d50da9a11d5be799bdaffba2e166e8ca8858512e3c0bd665d-primary.xml.zst

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

  • Geiger risk classifier
  • Nucleus package database
  • av.db category and tag curation
  • cross-ecosystem install command graph
  • curated package history
  • external package-manager database matches
  • package relationship graph
  • package version freshness
  • package-page enrichment