title: How to pass arguments from wrapper shell script to Java application?
body: <p>I want to run Java programs I am creating at on the command line (linux and mac).  I don't want to type "java" and arguments all the time, so I am thinking about creating wrapper scripts.  What's the best way to do this so that they work everywhere?  I want to be able to pass arguments, too.  I was thinking of using "shift" to do this (removing first argument).</p>
  
  <p>Is there a better way to do this without using scripts at all?  Perhaps make an executable that doesn't require invocation through the "java" command?</p>