Plz Help

Using the Java SDK with TextPad

Moderators: AmigoJack, bbadmin, helios, Bob Hansen, MudGuard

Post Reply
anow2
Posts: 1
Joined: Sun Sep 03, 2006 4:09 am

Plz Help

Post by anow2 »

Edit : Fixed, got a new problem tho


Exception in thread "main" java.lang.NoClassDefFoundError: Helloworld

i got this and i know its not something wrong in the script, could u help 0,o?
User avatar
talleyrand
Posts: 624
Joined: Mon Jul 21, 2003 6:56 pm
Location: Kansas City, MO, USA
Contact:

Post by talleyrand »

Compare the name of the file to the class defined. It must match exactly on syntax.

Thus, your class name in the file is Helloworld. The file on disk must be named Helloworld.java or it will fail compilation with the error message you received.
I choose to fight with a sack of angry cats.
Post Reply