javm compared with other tools
SDKMAN, jEnv, mise, and jabba also manage Java versions. They make different trade-offs, and the right choice depends on your platforms and on what else you want the tool to manage. This page compares them on the points that usually decide it.
At a glance
| javm | SDKMAN | jEnv | mise | jabba | |
|---|---|---|---|---|---|
| Installs JDKs | Yes | Yes | No, uses installed JDKs | Yes | Yes |
| Native on Windows | Yes: PowerShell, CMD | No: WSL or Git Bash | No: macOS, Linux | Yes | Yes: PowerShell |
| Implementation | Static binary | Bash scripts | Bash scripts | Binary | Binary |
| Also manages other tools | No | Yes: Maven, Gradle, Kotlin… | No | Yes: many languages | No |
| Project file | .java-version | .sdkmanrc | .java-version | mise.toml, or .java-version and .sdkmanrc when enabled | .jabbarc |
Switches on cd | No | Optional | Yes, via shims | Yes, when activated | No |
| Runs one command with a JDK | javm exec | No | jenv exec | mise exec | No |
| Uses JDKs already installed | Finds them automatically, or javm link | sdk install java <name> <path> | jenv add | mise link or a path | jabba link |
| Version selectors | Ranges: ~21.0.2, >=17 <22 | Exact: 21.0.4-tem | Registered names: 21.0.2 | Prefixes: temurin-25 | Ranges |
Automatic discovery in javm covers JDKs installed by the system, IntelliJ IDEA, Gradle, and jabba. SDKMAN switches on
cd when sdkman_auto_env=true is set.
Checked against each project's documentation in November 2026: SDKMAN, jEnv 0.6.0, mise, and the Jabba-Team fork of jabba 0.15.0. If something here is out of date, open an issue.
When javm is a good fit
- You work on Windows, or your team mixes Windows, Linux, and macOS, and you want the same tool and the same
.java-versionfile everywhere, without WSL or Git Bash. See Manage Java versions on Windows. - You only need to manage JDKs. javm does not install Maven, Gradle, or language runtimes, so there is nothing else to configure.
- Builds and CI should pick the JDK themselves.
javm exec mvn verifyreads.java-versionand runs the build with that JDK, without shell integration. See Use javm in CI. - You already have JDKs installed by your system, IntelliJ IDEA, Gradle, or jabba, and want to use them without registering each one.
When another tool may suit you better
- SDKMAN if you want one tool for the JVM ecosystem on macOS or Linux: it also installs Maven, Gradle, Kotlin, Groovy, and many other SDKs.
- mise if you manage several languages (Node.js, Python, Go, Java) and want one configuration file and automatic switching for all of them.
- jEnv if your JDKs are installed by a package manager such as Homebrew and you only want to switch between them,
with the version changing as you
cdinto each project.
javm does not switch versions automatically when you change directories. Run javm use in the project, or run
commands through javm exec; both read .java-version.
About jabba
javm started as a fork of jabba, whose original repository is no longer maintained and points to the Jabba-Team fork. javm finds the JDKs jabba installed, so you can try it without reinstalling them. See Migrate from jabba.