Hello,

I installed Suns Java sdk 1.3 on LM 7.2.  I can compile a program using
javac, but I get the following message:

[praha@localhost praha]$ java hello
Exception in thread "main" java.lang.NoClassDefFoundError: hello.
[praha@localhost praha]$

The programs code is the following:
public class hello
{
      public static void main( String[] args )
      {
            System.out.println( "Hello" );
      }
}

That is perfectly legal java code.  And javac produces a hello.class file.  I
don't understand the problem.

Eugene

Reply via email to