title: How to call external executable file from java
body: <p>I am new to java... </p>
  
  <p>I have a problem while trying to call external executable file from java... </p>
  
  <pre><code>Runtime rt = Runtime.getRuntime();
  Process pr = rt.exec("cmd /c terminal.exe");
  </code></pre>
  
  <p>while trying to call this getting below error..</p>
  
  <pre><code>Exited with error code 1
  </code></pre>