Skip to content

Commit

Permalink
feat: Supported JRE from SDKMAN! on Linux (#3062)
Browse files Browse the repository at this point in the history
  • Loading branch information
vochant authored Sep 18, 2024
1 parent 8a816f7 commit 97fe52c
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -329,6 +329,9 @@ private static Stream<Path> searchPotentialJavaExecutables() throws IOException
javaExecutables.add(listDirectory(Paths.get("/usr/java")).map(JavaVersion::getExecutable)); // Oracle RPMs
javaExecutables.add(listDirectory(Paths.get("/usr/lib/jvm")).map(JavaVersion::getExecutable)); // General locations
javaExecutables.add(listDirectory(Paths.get("/usr/lib32/jvm")).map(JavaVersion::getExecutable)); // General locations
// SDKMAN!
javaExecutables.add(listDirectory(Paths.get(System.getProperty("user.home"), ".sdkman/candidates/java"))
.map(JavaVersion::getExecutable));
break;

case OSX:
Expand Down

0 comments on commit 97fe52c

Please sign in to comment.