Java "Hello World" program running issue
<p>I've trying to start learning Java and already in stuck with the easiest possible program (http://introcs.cs.princeton.edu/java/11hello/)</p>

<p>So I created <code>HelloWorld.java</code> with</p>

<pre><code>public class HelloWorld { 
   public static void main(String[] args) { 
      System.out.println("Hello, World");
   }
}
</code></pre>

<p>Compiled it with <code>D:\tmp\java&gt;javac HelloWorld.java</code> (all passed fine, without errors)</p>

<p>And tried to run compiled <code>.class</code>:</p>

<pre><code>D:\tmp\java&gt;java HelloWorld.class
Error: Could not find or load main class HelloWorld.class
</code></pre>

<p>I have</p>

<pre><code>D:\tmp\java&gt;javac -version
javac 1.7.0
</code></pre>

<p>and cannot get why such trivial example doesn't work :-S</p>
