Also known as: java, openjdk@23
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 | ✅ | |
Intel | sonoma | ✅ |
ventura | ✅ | |
64-bit linux | ✅ |
Current versions:
stable | ✅ | 23.0.1 |
Other versions:
openjdk@21 | 21.0.5 | Development kit for the Java programming language |
openjdk@17 | 17.0.13 | Development kit for the Java programming language |
openjdk@11 | 11.0.25 | Development kit for the Java programming language |
openjdk@8 | 1.8.0-432 | Development kit for the Java programming language |
Keg-only
Depends on:
freetype | 2.13.3 | Software library to render fonts |
giflib | 5.2.2 | Library and utilities for processing GIFs |
harfbuzz | 10.1.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 |
pkgconf | 2.3.0 | Package compiler and linker metadata toolkit |
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 |
97,241 |
openjdk --HEAD |
159 |
Installs on Request (30 days) | |
openjdk |
60,690 |
openjdk --HEAD |
159 |
Build Errors (30 days) | |
openjdk |
2,238 |
Installs (90 days) | |
openjdk |
332,558 |
openjdk --HEAD |
524 |
Installs on Request (90 days) | |
openjdk |
208,525 |
openjdk --HEAD |
522 |
Installs (365 days) | |
openjdk |
1,186,971 |
openjdk --HEAD |
1,439 |
Installs on Request (365 days) | |
openjdk |
702,956 |
openjdk --HEAD |
1,437 |