Ability to handle java version with period sign instead of underscore like JAVA_VERSION="17.0.8.1" and not only JAVA_VERSION="17.0.8_1"
This commit is contained in:
@@ -1785,7 +1785,7 @@ public class Application
|
|||||||
protected int _trackingId;
|
protected int _trackingId;
|
||||||
|
|
||||||
protected String _javaVersionProp = "java.version";
|
protected String _javaVersionProp = "java.version";
|
||||||
protected String _javaVersionRegex = "(\\d+)(?:\\.(\\d+)(?:\\.(\\d+)(_\\d+)?)?)?";
|
protected String _javaVersionRegex = "(\\d+)(?:\\.(\\d+)(?:\\.(\\d+)([_.]\\d+)?)?)?";
|
||||||
protected long _javaMinVersion, _javaMaxVersion;
|
protected long _javaMinVersion, _javaMaxVersion;
|
||||||
protected boolean _javaExactVersionRequired;
|
protected boolean _javaExactVersionRequired;
|
||||||
protected String _javaLocation;
|
protected String _javaLocation;
|
||||||
|
|||||||
Reference in New Issue
Block a user