Merge pull request #98 from tschulte/issue-93

change default Java version regex
This commit is contained in:
Michael Bayne
2018-05-11 18:29:10 -07:00
committed by GitHub
2 changed files with 29 additions and 5 deletions
@@ -1884,7 +1884,7 @@ public class Application
protected int _trackingId;
protected String _javaVersionProp = "java.version";
protected String _javaVersionRegex = "(\\d+)\\.(\\d+)\\.(\\d+)(_\\d+)?.*";
protected String _javaVersionRegex = "(\\d+)(?:\\.(\\d+)(?:\\.(\\d+)(_\\d+)?)?)?";
protected long _javaMinVersion, _javaMaxVersion;
protected boolean _javaExactVersionRequired;
protected String _javaLocation;