JAL-3449 don't assume install4j jar in classpath of getdown
[jalview.git] / getdown / src / getdown / launcher / src / main / java / com / threerings / getdown / launcher / StatusPanel.java
index 89b621e..4b5e05f 100644 (file)
@@ -33,7 +33,6 @@ import com.threerings.getdown.util.MessageUtil;
 import com.threerings.getdown.util.Rectangle;
 import com.threerings.getdown.util.StringUtil;
 import static com.threerings.getdown.Log.log;
-import com.install4j.api.launcher.Variables;
 
 /**
  * Displays download and patching status.
@@ -280,11 +279,7 @@ public final class StatusPanel extends JComponent
        if (_ifc.displayVersion) {
                labelText.append("launcher version: " + Build.version());
                labelText.append("\n");
-        try {
-          labelText.append("install4j version: " + Variables.getCompilerVariable("sys.install4jVersion"));
-        } catch(java.io.IOException e) {
-          labelText.append("install4j version: not available");
-        }
+               labelText.append("install4j version: " + i4jVersion);
                labelText.append("\n");
                labelText.append("installer version: " + System.getProperty("installer_template_version"));
                labelText.append("\n");
@@ -423,4 +418,6 @@ public final class StatusPanel extends JComponent
     protected static final Font FONT = new Font("SansSerif", Font.BOLD, 12);
     
     public String _appbase;
+    
+    public static String i4jVersion = null;
 }