JAL-3449 correctly catch absence of install4j in getdown - probably for developers...
[jalview.git] / getdown / src / getdown / launcher / src / main / java / com / threerings / getdown / launcher / GetdownApp.java
index c76c727..fee1d3e 100644 (file)
@@ -107,14 +107,6 @@ 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"));
@@ -122,7 +114,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: " + StatusPanel.i4jVersion);
+    log.info("-- Install4j Vers: " + Application.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"));