Java setup
Here is how to set up Java in VS Code with mise:
- Install the mise-vscode extension (if not already installed)
- Install the Oracle’s Java extension or Language Support for Java by Red Hat for VS Code
- Open a project with a
mise.tomlfile (or any other files supported by mise) - The Java SDK will be automatically detected and configured by
mise-vscode
Here is an example Java project setup with mise:

The settings.json file has been updated with the Java SDK path provided by mise.
When the Java version comes from your global mise config (mise use -g java@21), the path is
~/.local/share/mise/installs/java/global (mise 2026.10.8+). It follows the next mise use -g java@...
or mise upgrade, so settings.json does not change. A version set in the project’s mise.toml keeps its own folder.