Is possible to run export command from java?
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/2460297/run-shell-command-from-java">run shell command from java</a>  </p>
</blockquote>



<p>I want to export some variable so I have this command.</p>

<pre><code>Runtime.getRuntime().exec("export a=b");
</code></pre>

<p>what is wrong with this command because this throw exeption:</p>

<p>java.io.IOException: Cannot run program "export": java.io.IOException: error=2, No such file or directory</p>
