diff --git a/fe/fe-core/src/main/java/org/apache/doris/common/util/JdkUtils.java b/fe/fe-core/src/main/java/org/apache/doris/common/util/JdkUtils.java index e46b3401d36ed7..34a604eb0d3b76 100644 --- a/fe/fe-core/src/main/java/org/apache/doris/common/util/JdkUtils.java +++ b/fe/fe-core/src/main/java/org/apache/doris/common/util/JdkUtils.java @@ -66,7 +66,7 @@ public static String getJavaVersionFromFullVersion(String fullVersionStr) { * Output: 13, 8 */ public static int getJavaVersionAsInteger(String javaVersionStr) { - String[] parts = javaVersionStr.split("\\."); + String[] parts = javaVersionStr.split("\\.|\\+"); if (parts[0].equals("1")) { return Integer.valueOf(parts[1]); } else {