openjdk

Install command:
brew install openjdk

Also known as: java, openjdk@16

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 16.0.1

Other versions:

openjdk@11 11.0.10 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 139,220
Installs on Request (30 days)
openjdk 36,134
Build Errors (30 days)
openjdk 2,250
Installs (90 days)
openjdk 460,982
Installs on Request (90 days)
openjdk 128,736
Installs (365 days)
openjdk 1,718,150
openjdk --HEAD 13
Installs on Request (365 days)
openjdk 544,976
openjdk --HEAD 13
Fork me on GitHub