title: How to execute java code using shell script?
body: <blockquote>
    <p>Possible duplicate "<a href="https://stackoverflow.com/questions/525212/how-to-run-unix-shell-script-from-java-code">How to run Unix shell script from Java code?</a>". </p>
  </blockquote>
  
  <p>I would like to know how to execute java code using shell script? </p>
  
  <p>I want to know is :</p>
  
  <pre><code>shell script executes java code.
  </code></pre>
  
  <p>I don't want to know is</p>
  
  <pre><code>java code executes shell script.
  </code></pre>
  
  <ul>
  <li>My OS version is <code>cent0s 5.5 (64-bit)</code>.</li>
  </ul>