← Blog

jkit: one command for JDKs, Maven and Gradle

November 27, 2026 · jkit, java, graalvm, cli

Every Java developer ends up juggling JDKs. One project is still on 17, another wants 21, the desktop apps are on 25, and native-image builds need GraalVM on the side. I wanted one command that handles all of it, on every OS I use, so I wrote jkit.

What it does

jkit hook --install              # once: hook into your shell
jkit install jdk@21              # default vendor (Temurin)
jkit install jdk@lts zulu        # a vendor's newest LTS
jkit use jdk@21 --global         # every terminal and app
jkit use jdk@17 zulu             # this shell only
jkit install graalvm@25 && jkit use graalvm@25   # sets GRAALVM_HOME only
jkit pin jdk@21                  # record it in this project's jkit.toml
jkit exec jdk@17 -- mvn test     # one command, no shell change (scripts, CI, agents)
jkit status                      # what's active here, and why
jkit upgrade                     # newest build within each installed release

Why not SDKMAN?

SDKMAN is great, and I used it for years. But it is written in bash, so on Windows it needs WSL or Git Bash. jkit is a native binary everywhere, and I wanted a different command design: version ranges like jdk@21, an optional vendor instead of IDs like 21.0.5-tem, and no interactive prompts.

Five releases in a week

Where it stands

jkit runs on Linux, macOS and Windows. Windows support is still a preview. It’s deliberately narrow: JDKs, GraalVM, Maven, Gradle and sbt, nothing else. SDKMAN, mise and asdf cover far more tools.

To try it:

brew install adriandeleon/tap/jkit

Other platforms are covered on the install page.

The site is at jkit-project.dev and the code is on GitHub.