Mac firewall setting with java
<p>I'm going to add some rules in my firewall with java, I'd like to execute this command with java:</p>

<pre><code>String [] cmd = {"sudo ipfw delete 100 "};
Runtime.getRuntime().exec(cmd);
</code></pre>

<p>But I get this error </p>

<blockquote>
  <p>Cannot run program "sudo ipfw delete 100 ": error=2, No such file or directory</p>
</blockquote>

<p>Any suggestion? </p>
