Add command line argument to ignore the JRE
This commit is contained in:
parent
c48c3b8e4e
commit
51de605561
@ -67,7 +67,8 @@ public class SwingStartup {
|
||||
log.info("Starting up OpenRocket version {}", BuildProperties.getVersion());
|
||||
|
||||
// Check JRE version
|
||||
if (!checkJREVersion()) {
|
||||
boolean ignoreJRE = System.getProperty("openrocket.ignore-jre") != null;
|
||||
if (!ignoreJRE && !checkJREVersion()) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user