title: Java can't find method main
body: <p>Im having trouble with a simple hello world program lol! Im hoping someone can shed some light on this.</p>
  
  <p>So the error im receiving is the following:</p>
  
  <pre><code>$ javac Hello.java
  $ java Hello
  Exception in thread "main" java.lang.NoSuchMethodError: main
  </code></pre>
  
  <p>So by the error, I can see that it's <em>obviously</em> missing main, but it's there:</p>
  
  <pre><code>class Hello
  {
    public static void main(String argv)
    {
      System.out.println("hello world");
    }
  }
  </code></pre>
  
  <p>I'm on Mac OS/X if it's any help.</p>