openjdk@17
Deprecation date: 2027-09-30
Disable date: 2029-09-30
brew install openjdk@17Development kit for the Java programming language
License: GPL-2.0-only WITH Classpath-exception-2.0
Development: Pull requests
Formula JSON API: /api/formula/openjdk@17.json
Formula code: openjdk@17.rb on GitHub
Bottle (binary package) installation support provided for:
| macOS on Apple Silicon |
golden gate | ✅ |
|---|---|---|
| tahoe | ✅ | |
| sequoia | ✅ | |
| Linux | ARM64 | ✅ |
| x86_64 | ✅ |
Current versions:
| stable | ✅ | 17.0.21.1 |
Other versions:
| openjdk@25 | 25.0.5.1 | Development kit for the Java programming language |
| openjdk@21 | 21.0.13.1 | Development kit for the Java programming language |
| openjdk@11 | 11.0.33.1 | Development kit for the Java programming language |
| openjdk@8 | 1.8.0-514 | Development kit for the Java programming language |
Keg-only because this is an alternate version of another formula.
Depends on:
| freetype | 2.15.0 | Software library to render fonts |
| giflib | 6.1.3 | Library and utilities for processing GIFs |
| harfbuzz | 15.2.0 | OpenType text shaping engine |
| jpeg-turbo | 3.2.1 | JPEG image codec that aids compression and decompression |
| libpng | 1.6.59 | Library for manipulating PNG images |
| little-cms2 | 2.20 | Color management engine supporting ICC profiles |
Depends on when building from source:
| autoconf | 2.73 | Automatic configure script builder |
| pkgconf | 3.0.11 | Package compiler and linker metadata toolkit |
Uses from macOS: unzip (build), zip (build), cups (no_linkage)
Requires: Xcode (build)
Binaries:
jar,
jarsigner,
java,
javac,
javadoc,
javap,
jcmd,
jconsole,
jdb,
jdeprscan,
jdeps,
jfr,
jhsdb,
jimage,
jinfo,
jlink,
jmap,
jmod,
jpackage,
jps,
jrunscript,
jshell,
jstack,
jstat,
jstatd,
keytool,
rmiregistry,
serialver
| For the system Java wrappers to find this JDK, symlink it with sudo ln -sfn $HOMEBREW_PREFIX/opt/openjdk@17/libexec/openjdk.jdk /Library/Java/JavaVirtualMachines/openjdk-17.jdk |
GitHub Packages downloads:
| Last 30 days | 258,524 |
|---|---|
| Downloads | 6,747,589 |
| Analytics install events (30 days) | 36,253 |
| Downloads / install events (30 days) | 7.1× |
Source: GitHub Packages, fetched 2026-11-25T00:54:48Z. Analytics dates: 2026-10-26 to 2026-11-25. Totals exclude downloads from Bintray before the migration to GitHub Packages. Downloads and install attempts measure different things; the difference does not count analytics opt-outs. Definitions and limitations.
Analytics:
| 30 days | 90 days | 365 days | |
|---|---|---|---|
| Installs | 36,176 | 76,764 | 345,694 |
Installs (--HEAD) | 77 | 166 | 577 |
| Installs on Request | 34,628 | 73,764 | 331,292 |
Installs on Request (--HEAD) | 77 | 166 | 577 |
| Build Errors | 473 |