The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
July 2000

Advertisement

Advertisement

This page contains an archived post to the Java Answers Forum made prior to February 25, 2002. If you wish to participate in discussions, please visit the new Artima Forums.

Message:

Problem running classes

Posted by Dincer Aydin on July 19, 2000 at 3:58 PM

Hi,
I just downloaded JDK 1.3, installed it and set the path as necessary. I compiled
the code below.
// Hello.java

class Hello {
public static void main(String[] args) {
System.out.println("Hello, world");
}
}

The problem is that I get this error when I attemp to run it.
C:\JDK1.3\BIN\Java.exe -cp .\ hello
java.lang.NoClassDefFoundError: hello
Exception in thread "main"

Any help would be greatly appreciated.

Regards,

Dincer Aydin



Replies:

Sponsored Links



Google
  Web Artima.com   
Copyright © 1996-2009 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use - Advertise with Us