The Artima Developer Community
Sponsored Link

Legacy Java Answers Forum
November 2000



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.


run 'javac', then 'java HelloWorldApp'

Posted by Wensheng Deng on November 17, 2000 at 4:44 PM

> We're brand new to Java, and are having a problem that may be related to environment. We've triple-checked the code, and tried different applets. This happens even with "clean" code like the HelloWorld applet from the Sun site.

> C:\java\jdk1.3\bin>java
> Exception in thread ?main? java.lang.NoClassDefFoundError:HelloWorldApp/java

> Any ideas about why this is happening or how to fix it? We're in a Windows NT 4.0 environment.

> Thanks very much-

> Paula


Sponsored Links

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