title: Equivalent of double-clickable .sh and .bat on Mac?
body: <p>I am distributing a Java program where I want a double-clickable file to run</p>
  
  <pre><code>java -cp MyProgram.jar;MyLib.jar my.program.Main
  </code></pre>
  
  <p>On Windows I simply distribute a .bat file, for *nix an executable .sh file. Problem is, double-clicking the .sh file just opens it up in a text editor on Mac. What should I do for Mac?</p>