Error when compiling Java source file
<p>I'm a beginner in Java and I created this class:</p>

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

<p>as test.java, and when I compiled it with this cmd: </p>

<pre><code>javac C:\Users\Aimad\Desktop\test.java
</code></pre>

<p>and then:</p>

<pre><code>java C:\Users\Aimad\Desktop\test.class
</code></pre>

<p>I received this error :</p>

<blockquote>
  <p>Could not find or load main class C:\Users\Aimad\Desktop\test.class</p>
</blockquote>
