title: Launch jar file and display in console
body: <p>I recently made a jar file using JRuby and Rawr.  The program just writes the word 'hello' to STDOUT and then waits for the user to hit enter.</p>
  
  <p>To run the program, I have to type <code>java -jar MyProgram.jar</code>.  I'd like to know if it is possible to make it so that when the user double click on the *.jar file, the console automatically pops up displaying 'hello' (rather than having to execute <code>java -jar MyProgram.jar</code> every time I want to run the program).  I guess I could create a batch file, but is there a better way?</p>
  
  <p>Thanks.</p>