From 99c9b30e494a8ef50f3cd4038869b5870f4ab946 Mon Sep 17 00:00:00 2001 From: zzz <zzz@mail.i2p> Date: Sat, 14 Nov 2015 13:22:35 +0000 Subject: [PATCH] another installer build fix --- installer/java/src/net/i2p/installer/Exec.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/installer/java/src/net/i2p/installer/Exec.java b/installer/java/src/net/i2p/installer/Exec.java index 05113b9c65..de7419202b 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(); } -- GitLab