Skip to main content

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​

javmSDKMANjEnvmisejabba
Installs JDKsYesYesNo, uses installed JDKsYesYes
Native on WindowsYes: PowerShell, CMDNo: WSL or Git BashNo: macOS, LinuxYesYes: PowerShell
ImplementationStatic binaryBash scriptsBash scriptsBinaryBinary
Also manages other toolsNoYes: Maven, Gradle, Kotlin…NoYes: many languagesNo
Project file.java-version.sdkmanrc.java-versionmise.toml, or .java-version and .sdkmanrc when enabled.jabbarc
Switches on cdNoOptionalYes, via shimsYes, when activatedNo
Runs one command with a JDKjavm execNojenv execmise execNo
Uses JDKs already installedFinds them automatically, or javm linksdk install java <name> <path>jenv addmise link or a pathjabba link
Version selectorsRanges: ~21.0.2, >=17 <22Exact: 21.0.4-temRegistered names: 21.0.2Prefixes: temurin-25Ranges

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-version file 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 verify reads .java-version and 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 cd into 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.