diff options
Diffstat (limited to 'installer')
-rw-r--r-- | installer/src/main/java/com/github/dcevm/installer/ConfigurationInfo.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/installer/src/main/java/com/github/dcevm/installer/ConfigurationInfo.java b/installer/src/main/java/com/github/dcevm/installer/ConfigurationInfo.java index fd5b2c47..e8fa5390 100644 --- a/installer/src/main/java/com/github/dcevm/installer/ConfigurationInfo.java +++ b/installer/src/main/java/com/github/dcevm/installer/ConfigurationInfo.java @@ -161,7 +161,7 @@ public enum ConfigurationInfo { // Utility methods to query installation directories public boolean isJRE(Path directory) { - if (Files.isDirectory(directory) && directory.getFileName().toString().startsWith("jre")) { + if (Files.isDirectory(directory)) { if (!Files.exists(directory.resolve(getJavaExecutable()))) { return false; } |