diff --git a/installer/java/src/net/i2p/installer/Exec.java b/installer/java/src/net/i2p/installer/Exec.java index 05113b9c657884bc1e75d95b81cd44912618a5b8..de7419202b7784239a3caf6244b7005b44a18dc2 100644 --- a/installer/java/src/net/i2p/installer/Exec.java +++ b/installer/java/src/net/i2p/installer/Exec.java @@ -1,6 +1,7 @@ package net.i2p.installer; import java.io.File; +import java.io.IOException; /** * <p>This class can be used by the installer to execute shell commands.</p> @@ -20,7 +21,8 @@ public class Exec { // http://cephas.net/blog/2004/03/23/external_applications_javas_runtimeexec.html try { proc.exitValue(); } catch (Throwable t) { } Runtime.getRuntime().halt(0); - + } catch (IOException e) { + e.printStackTrace(); } catch (RuntimeException e) { e.printStackTrace(); }