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

/api/formula/openjdk.json (JSON API)

/api/bottle/openjdk.json (Bottle JSON API)

Formula code on GitHub

Bottle (binary package) installation support provided for macOS releases:

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

Current versions:

stable 17

Other versions:

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

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:

Installs (30 days)
openjdk 212,001
Installs on Request (30 days)
openjdk 61,405
Build Errors (30 days)
openjdk 1,940
Installs (90 days)
openjdk 558,701
Installs on Request (90 days)
openjdk 158,797
Installs (365 days)
openjdk 1,912,970
openjdk --HEAD 13
Installs on Request (365 days)
openjdk 584,699
openjdk --HEAD 13
Fork me on GitHub