openjdk

Install command:
brew install openjdk

Also known as: java, openjdk@18

Development kit for the Java programming language

https://openjdk.java.net/

License: GPL-2.0-only with Classpath-exception-2.0

Formula JSON API: /api/formula/openjdk.json

Bottle JSON API: /api/bottle/openjdk.json

Formula code: openjdk.rb on GitHub

Bottle (binary package) installation support provided for:

Intel monterey
big sur
catalina
64-bit linux
Apple Silicon monterey
big sur

Current versions:

stable 18.0.1.1

Other versions:

openjdk@17 17.0.3 Development kit for the Java programming language
openjdk@11 11.0.15 Development kit for the Java programming language
openjdk@8 1.8.0+322 Development kit for the Java programming language

Keg-only

Depends on when building from source:

autoconf 2.71 Automatic configure script builder

Requires: Xcode (build), macOS >= 10.15

For the system Java wrappers to find this JDK, symlink it with
    sudo ln -sfn $(brew --prefix)/opt/openjdk/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk.jdk

Analytics (macOS):

Installs (30 days)
openjdk 236,334
Installs on Request (30 days)
openjdk 67,287
Build Errors (30 days)
openjdk 190
Installs (90 days)
openjdk 662,984
Installs on Request (90 days)
openjdk 186,660
Installs (365 days)
openjdk 2,413,940
Installs on Request (365 days)
openjdk 680,945

Analytics (Linux):

Installs (30 days)
openjdk 4,112
Installs on Request (30 days)
openjdk 975
Build Errors (30 days)
openjdk 51
Installs (90 days)
openjdk 11,274
Installs on Request (90 days)
openjdk 2,812
Installs (365 days)
openjdk 36,564
Installs on Request (365 days)
openjdk 8,989
Fork me on GitHub