openjdk

Install command:
brew install openjdk

Also known as: java, openjdk@17

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 17.0.1

Other versions:

openjdk@11 11.0.12 Development kit for the Java programming language
openjdk@8 1.8.0+312 Development kit for the Java programming language

Revision: 1

Keg-only

Depends on when building from source:

autoconf 2.71 Automatic configure script builder
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 151,016
Installs on Request (30 days)
openjdk 41,524
Build Errors (30 days)
openjdk 4,979
Installs (90 days)
openjdk 591,760
Installs on Request (90 days)
openjdk 168,302
Installs (365 days)
openjdk 2,087,161
Installs on Request (365 days)
openjdk 597,583

Analytics (Linux):

Installs (30 days)
openjdk 2,275
Installs on Request (30 days)
openjdk 611
Build Errors (30 days)
openjdk 13
Installs (90 days)
openjdk 8,344
Installs on Request (90 days)
openjdk 2,303
Installs (365 days)
openjdk 32,135
Installs on Request (365 days)
openjdk 6,924
Fork me on GitHub