Run a .jar file with parameters from JavaScript
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/1320476/execute-another-jar-in-a-java-program">Execute another jar in a java program</a>  </p>
</blockquote>



<p>I have an executable jar file that accepts two parameters: an input file and an output file:</p>

<pre><code>java -jar inputFile.txt outputFile.txt
</code></pre>

<p>How can I call exactly this from JavaScript?</p>
