X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;f=getdown%2Fsrc%2Fgetdown%2Flauncher%2Fsrc%2Fmain%2Fjava%2Fcom%2Fthreerings%2Fgetdown%2Flauncher%2FGetdownApp.java;h=c76c727728f457feb0df68ff499fead68807026a;hb=a2801ca3b43620de21f25f7aa3935bf0572192b4;hp=4a44f9bff979e6bab5d872f09ecfc0d18a10b346;hpb=e978baf3e628c2fb6f952d8265ef0498ae828658;p=jalview.git diff --git a/getdown/src/getdown/launcher/src/main/java/com/threerings/getdown/launcher/GetdownApp.java b/getdown/src/getdown/launcher/src/main/java/com/threerings/getdown/launcher/GetdownApp.java index 4a44f9b..c76c727 100644 --- a/getdown/src/getdown/launcher/src/main/java/com/threerings/getdown/launcher/GetdownApp.java +++ b/getdown/src/getdown/launcher/src/main/java/com/threerings/getdown/launcher/GetdownApp.java @@ -35,7 +35,6 @@ import com.threerings.getdown.util.LaunchUtil; import com.threerings.getdown.util.StringUtil; import static com.threerings.getdown.Log.log; import jalview.bin.StartupNotificationListener; -import com.install4j.api.launcher.Variables; /** * The main application entry point for Getdown. @@ -108,6 +107,14 @@ public class GetdownApp t.printStackTrace(); } + try { + StatusPanel.i4jVersion = com.install4j.api.launcher.Variables.getCompilerVariable("sys.install4jVersion"); + } catch (IOException e) { + System.err.println("install4j version not available"); + } catch (Throwable t) { + System.err.println("install4j not available"); + t.printStackTrace(); + } // record a few things for posterity log.info("------------------ VM Info ------------------"); log.info("-- OS Name: " + System.getProperty("os.name")); @@ -115,7 +122,7 @@ public class GetdownApp log.info("-- OS Vers: " + System.getProperty("os.version")); log.info("-- Java Vers: " + System.getProperty("java.version")); log.info("-- Java Home: " + System.getProperty("java.home")); - log.info("-- Install4j Vers: " + Variables.getCompilerVariable("sys.install4jVersion")); + log.info("-- Install4j Vers: " + StatusPanel.i4jVersion); log.info("-- Install4j Template Vers: " + System.getProperty("installer_template_version")); log.info("-- User Name: " + System.getProperty("user.name")); log.info("-- User Home: " + System.getProperty("user.home"));