title: Creating java file to be executed by sh command
body: <p>Hello I have a java program. I have a script that should execute the program. The script looks like this</p>
  
  <pre><code>sh compress.sh -f myfile.txt [-o myfile.hzip -s]
  </code></pre>
  
  <p>How do i create executable from my java program so that it can execute from this script?</p>