diff --git a/bindings/java/src/net/hyperic/sigar/shell/ShellIntHandler.java b/bindings/java/src/net/hyperic/sigar/shell/ShellIntHandler.java index 836c9ae6..fb8a53b4 100644 --- a/bindings/java/src/net/hyperic/sigar/shell/ShellIntHandler.java +++ b/bindings/java/src/net/hyperic/sigar/shell/ShellIntHandler.java @@ -14,7 +14,12 @@ public class ShellIntHandler implements SignalHandler { handlerShell = shell; handlers = new Stack(); - Signal signal = new Signal("INT"); + Signal signal; + try { + signal = new Signal("INT"); + } catch (IllegalArgumentException e) { + return; //e.g NetWare + } try { Signal.handle(signal, new ShellIntHandler());