Skip to content

Commit 5c87527

Browse files
gzsomborakurtakov
authored andcommitted
Add auto-detection for JVMs installed by mise
mise-en-place (https://mise.jdx.dev/) is a polyglot tool version manager
1 parent 8194876 commit 5c87527

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

org.eclipse.jdt.launching/launching/org/eclipse/jdt/internal/launching/DetectVMInstallationsJob.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ private Collection<File> computeCandidateVMs(StandardVMType standardType) {
133133
rootDirectories.add(new File("/usr/lib/jvm")); //$NON-NLS-1$
134134
}
135135
rootDirectories.add(new File(System.getProperty("user.home"), ".sdkman/candidates/java")); //$NON-NLS-1$ //$NON-NLS-2$
136+
rootDirectories.add(new File(System.getProperty("user.home"), ".local/share/mise/installs/java")); //$NON-NLS-1$ //$NON-NLS-2$
136137

137138
Set<File> directories = rootDirectories.stream().filter(File::isDirectory)
138139
.map(dir -> dir.listFiles(File::isDirectory))

0 commit comments

Comments
 (0)