openjdk

Popular
Formula Utilities v27

Development kit for the Java programming language

When to use

Development kit for the Java programming language. Use openjdk when you want a widely used utilities command-line package that can be installed and updated through Homebrew. It is one of FastBrew's top packages by Homebrew installs, with about 706.7K installs over the last year.

About

Install openjdk on macOS with Homebrew Formula using `brew install openjdk`. openjdk is a Utilities command-line package with version 27. The package is listed in homebrew/core.

Install 1 App in Terminal
$
brew install openjdk
Source: homebrew/core Website Homebrew

Dependencies

Build Dependencies

Installation Notes

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

Official Homebrew Stats

Install activity metrics for openjdk.

-28.9% vs 90d avg
30 Days
40.4K total installs
1.3K installs / day avg
90 Days
170.2K total installs
1.9K installs / day avg
1 Year
706.7K total installs
1.9K installs / day avg

Frequently asked questions

How do I install openjdk with Homebrew?

Run brew install openjdk in Terminal to install openjdk as a Homebrew formula on macOS.

What kind of package is openjdk?

openjdk is a Utilities Homebrew formula and FastBrew currently shows version 27.

What should I review before installing openjdk?

Review the runtime dependencies (freetype, giflib, harfbuzz, jpeg-turbo, libpng, little-cms2) and build dependencies (autoconf, pkgconf) along with any caveats before installing.

Related Utilities Apps

View all

xz

Popular

General-purpose data compression with high compression ratio

python@3.14

Popular

Interpreted, interactive, object-oriented programming language

gh

Popular

GitHub command-line tool

zstd

Popular

Zstandard is a real-time compression algorithm

readline

Popular

Library for command-line editing

glib

Popular

Core application library for C