title: Execute a Java program from our Java program
body: <p>I used </p>
  
  <pre><code>Runtime.getRuntime().exec("_____")
  </code></pre>
  
  <p>but it throws a <code>IOException</code> as below:</p>
  
  <pre><code>java.io.IOException: CreateProcess: c:/ error=5
    at java.lang.Win32Process.create(Native Method)
    at java.lang.Win32Process.&lt;init&gt;(Win32Process.java:63)
    at java.lang.Runtime.execInternal(Native Method
  </code></pre>
  
  <p>I don't know whether I have the problem with specifying the path or something else. Can anyone please help me with the code.</p>