v0.1.1 · Linux x64 and arm64

Install and switch JDKs, Maven and Gradle.

jkit is one small native command for Linux, macOS and Windows. Name a version, and an optional vendor, and it does the rest. No bash scripts, no JDK required.

Install jkitRead the docsGitHub

$ jkit install jdk@21
downloading jdk 21.0.13+9 temurin from github.com
installed jdk 21.0.13+9 temurin
$ jkit install jdk@17 zulu
installed jdk 17.0.21+9 zulu
$ jkit use jdk@21 --global
global jdk → 21.0.13+9 temurin
$ jkit use jdk@17 zulu
using jdk 17.0.21+9 zulu in this shell
$ java -version
openjdk version "17.0.21" 2026-10-20 LTS

What it does

JDKs from 20+ vendors

Temurin, Corretto, Zulu, Liberica, Oracle, GraalVM, SapMachine, Semeru, Microsoft and more, from the foojay Disco API. Pick one per install or set a default.

Maven and Gradle too

Straight from Maven Central and services.gradle.org. Projects that use ./mvnw or ./gradlew keep their wrapper; jkit supplies the JDK.

No JDK needed to run

A single native binary built with GraalVM. Starts in milliseconds, so it can run from your shell prompt without slowing it down.

Switch per shell or globally

jkit use jdk@21 changes this shell only; --global changes the default for every terminal and app. jkit reset goes back.

Checked downloads

Every archive is checked against the checksum its source publishes before anything is unpacked. A failed install leaves nothing behind.

A GraalVM slot

Keep Temurin as JAVA_HOME and point GRAALVM_HOME at GraalVM for native-image builds: jkit use graalvm@25.

Every major version, at a glance

jkit search jdk shows one row per major version: your default vendor's newest build in the middle, and who else ships it.

$ jkit search jdk --maintained
major      temurin *       also from
27         27.0.1.1+4      corretto liberica openjdk oracle sapmachine semeru +1
25    LTS  25.0.5+8        bisheng corretto dragonwell eliya graalvm +14
21    LTS  21.0.13+9 ●     bisheng corretto dragonwell gluon-graalvm graalvm +14
17    LTS  17.0.21+9       bisheng corretto dragonwell graalvm graalvm-ce +13
11    LTS  11.0.33+10      bisheng corretto dragonwell jetbrains kona +12
8     LTS  8.0.512+9       bisheng corretto dragonwell kona liberica openjdk +4
* default vendor   ● installed   eol = no longer maintained

Why not SDKMAN?

SDKMAN is great, but it is written in bash, so on Windows it needs WSL or Git Bash. jkit is a native binary on every platform, with its own command design: version ranges likejdk@21, an optional vendor instead of IDs like 21.0.5-tem, no interactive prompts, and a clear difference between this shell and the global default.

Status

jkit is a working prototype. search, install, use,reset, list, remove and the shell hook work and are tested on Linux. Project files (jkit.toml, jkit.lock),status, doctor, self-update, and Windows and macOS testing are next. See the docs for the full list.