CocoaEngineering
FORMULAv27.0.1.1

openjdk for macOS

Development kit for the Java programming language

Installation on macOS (Apple Silicon & Intel)

brew install openjdk

Package Metadata

Identifieropenjdk
Current Version27.0.1.1
Tap Repositoryhomebrew/core
LicenseGPL-2.0-only WITH Classpath-exception-2.0
Upstream Homepagehttps://openjdk.org/
Last Verified2026-11-26T14:43:31Z

Runtime Dependencies (6)

freetype giflib harfbuzz jpeg-turbo libpng little-cms2

Build Dependencies (2)

autoconf pkgconf

Engineering Caveats

For 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
Browse macOS Packages A–Z