Are you sure having main method in java class u want to run. Check for signature of main method also
On Wed, Nov 10, 2010 at 10:21 PM, Akki <[email protected]> wrote: > i have write a program for java Awt .it complie easy and create class > file , but when i run it ,it produce a erroer "Exception in thread > "main" java.lang.classdefFoundError:classname/java".please tell how > can i remove this error. > > -- > To post to this group, send email to > [email protected] > To unsubscribe from this group, send email to > [email protected]<javaprogrammingwithpassion%[email protected]> > For more options, visit this group at > http://groups.google.com/group/javaprogrammingwithpassion?hl=en -- With Regards, Shiv Shankar, Persistent System Limited -- To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/javaprogrammingwithpassion?hl=en
