aboutsummaryrefslogtreecommitdiffstats
path: root/installer/src
diff options
context:
space:
mode:
Diffstat (limited to 'installer/src')
-rw-r--r--installer/src/main/java/com/github/dcevm/installer/ConfigurationInfo.java2
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 18a2e558..cd71d265 100644
--- a/installer/src/main/java/com/github/dcevm/installer/ConfigurationInfo.java
+++ b/installer/src/main/java/com/github/dcevm/installer/ConfigurationInfo.java
@@ -268,7 +268,7 @@ public enum ConfigurationInfo {
}
public String getJavaVersion(Path jreDir) throws IOException {
- return getVersionHelper(jreDir, ".*java version.*\"(.*)\".*", true, false);
+ return getVersionHelper(jreDir, ".*(?:java|openjdk) version.*\"(.*)\".*", true, false);;
}
final public String getDCEVersion(Path jreDir, boolean altjvm) throws IOException {