forked from I2P_Developers/i2p.i2p
merge of '2695182df34f8500e1b5d93d7337a46b8a4656f4'
and '2ef560b013d5341eefa6cee116c1f6d06161e9b1'
This commit is contained in:
@ -329,7 +329,9 @@ public class RouterConsoleRunner {
|
||||
//TODO: move away from routerconsole into a separate application.
|
||||
//ApplicationManager?
|
||||
VersionComparator v = new VersionComparator();
|
||||
if(v.compare(System.getProperty("java.runtime.version"), "1.6") >= 0) {
|
||||
String desktopguiEnabled = I2PAppContext.getGlobalContext().getProperty("desktopgui.enabled");
|
||||
int recentJava = v.compare(System.getProperty("java.runtime.version"), "1.6");
|
||||
if(recentJava >= 0 && (desktopguiEnabled == null || desktopguiEnabled.equalsIgnoreCase("true"))) {
|
||||
String[] args = new String[0];
|
||||
net.i2p.desktopgui.Main.beginStartup(args);
|
||||
}
|
||||
|
Reference in New Issue
Block a user