Could not find or load main class java hello world : <p>I am trying to write <strong>hello world</strong> on java. My code is:</p>

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

<p>And when I run <strong>java youtube.java</strong> on cmd I got this error:</p>

<p><strong>Error: Could not find or load main class youtube.java</strong></p>
