Also known as: java, openjdk@22
Development kit for the Java programming language
License: GPL-2.0-only WITH Classpath-exception-2.0
Formula JSON API: /api/formula/openjdk.json
Formula code: openjdk.rb
on GitHub
Bottle (binary package) installation support provided for:
Apple Silicon | sequoia | ✅ |
---|---|---|
sonoma | ✅ | |
ventura | ✅ | |
monterey | ✅ | |
Intel | sonoma | ✅ |
ventura | ✅ | |
monterey | ✅ | |
64-bit linux | ✅ |
Current versions:
stable | ✅ | 22.0.2 |
Other versions:
openjdk@21 | 21.0.4 | Development kit for the Java programming language |
openjdk@17 | 17.0.12 | Development kit for the Java programming language |
openjdk@11 | 11.0.24 | Development kit for the Java programming language |
openjdk@8 | 1.8.0-422 | Development kit for the Java programming language |
Keg-only
Depends on:
giflib | 5.2.2 | Library and utilities for processing GIFs |
harfbuzz | 9.0.0 | OpenType text shaping engine |
jpeg-turbo | 3.0.4 | JPEG image codec that aids compression and decompression |
libpng | 1.6.44 | Library for manipulating PNG images |
little-cms2 | 2.16 | Color management engine supporting ICC profiles |
Depends on when building from source:
autoconf | 2.72 | Automatic configure script builder |
pkg-config | 0.29.2 | Manage compile and link flags for libraries |
Requires: Xcode (build), macOS >= 10.15
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 |
Analytics:
Installs (30 days) | |
---|---|
openjdk |
85,225 |
openjdk --HEAD |
108 |
Installs on Request (30 days) | |
openjdk |
49,270 |
openjdk --HEAD |
107 |
Build Errors (30 days) | |
openjdk |
1,210 |
Installs (90 days) | |
openjdk |
297,652 |
openjdk --HEAD |
344 |
Installs on Request (90 days) | |
openjdk |
175,820 |
openjdk --HEAD |
343 |
Installs (365 days) | |
openjdk |
1,147,430 |
openjdk --HEAD |
1,287 |
Installs on Request (365 days) | |
openjdk |
659,504 |
openjdk --HEAD |
1,284 |