My Java Class Program w/ Not finding main

Using the Java SDK with TextPad

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

Post Reply
Dusty_pip
Posts: 1
Joined: Wed Oct 26, 2005 4:18 pm

My Java Class Program w/ Not finding main

Post by Dusty_pip »

Alot of our java students when they try to run the application in Textpad they all get the error...

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

Press any key to continue. . .


Any ideas on how to help us out??
User avatar
talleyrand
Posts: 624
Joined: Mon Jul 21, 2003 6:56 pm
Location: Kansas City, MO, USA
Contact:

Post by talleyrand »

Learning is a wonderful thing. A great way to learn is to ask, another is to look for your answers. For Java questions, http://forum.java.sun.com is a great place to start as well as googling your particular error message or even using the built in search here and looking for NoClassDefFoundError.

Beyond those things, I lack sufficient information to be of more use.
I choose to fight with a sack of angry cats.
User avatar
MudGuard
Posts: 1295
Joined: Sun Mar 02, 2003 10:15 pm
Location: Munich, Germany
Contact:

Post by MudGuard »

Sorry if this sounds harsh - but you could start learning to read.

The thread immediately below yours has a title with your error message. There is another thread 5 threads further down which also has your error message in the title.

Both contain information on how to avoid the error message.

Two of the threads in between have the "NoClassDefFound" as a subject (though not as title) ...

There is a sticky near the top of the list which says in capital letters that you should search the forum before making new posts.

Btw, the teachers of your Java students can't be very good if they can't help the students with this basic Java development stuff.
Post Reply