title: System.out.println in jar
body: <p>I have this java program that I want to package within a jar. 
  It compiles fine and it compiles without errors into a jar. But when I double click it, it wont start. I know most jar applications uses JFrame and that works fine. But is it possible to make it command prompt/shell based? (Like Displaying System.out.println)</p>
  
  <p>Example is it possible to execute this code by double clicking a jar:</p>
  
  <pre><code>public class Hello
  {
  
    public static void main( String[] args )
    {
      System.out.println( "Hello, World!" );
    }
  }
  </code></pre>