title: How to call a java program from another java program?
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/4842684/how-to-compile-run-java-program-in-another-java-program">how to compile &amp; run java program in another java program?</a>  </p>
  </blockquote>
  
  
  
  <p>eg if i have A.java and B.java then i want to compile and run B.java using A.java.</p>