|
-
March 4th, 2000, 02:53 AM
#1
NoClassDefFound. Why?
Exception in thread "main" java.lang.NoClassDefFound
I did not write this code and it should run standalone.
-
March 4th, 2000, 09:46 PM
#2
Re: NoClassDefFound. Why?
-
March 4th, 2000, 09:48 PM
#3
Re: NoClassDefFound. Why?
Gettin the same problem with win98 laptop while same code works fine on win95 machine. Some body please shed light
-
March 4th, 2000, 11:00 PM
#4
Re: NoClassDefFound. Why?
sounds like you haven't declared
public static void main(String args[])
{
}
-
March 7th, 2000, 04:58 AM
#5
Re: NoClassDefFound. Why?
As said by Mr Erik the answer can be, to declare the " public static void "
for the main {} class
But it is for an "Application "
If we are writing an "Applet", then we are not writing any main{} class as such
I also faced this same error while writing an aplet.
I just checked for the "public ststic" declaration, for all the classes which are reffered, somewhere else in my code.
but I need some more clarification about this.
thanks.
vaishali
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|