Home » Developer & Programmer » JDeveloper, Java & XML » NoClassDefFoundError
NoClassDefFoundError [message #92781] Sat, 15 January 2005 12:43
Jeff
Messages: 63
Registered: July 1999
Member
I use Crimson editor and J2sdk 1.4.2_06.
My program is this:

public class MultiMethod {
public static void main(String[[]] args) {
System.out.println("Message from the main method");
sub();}
public static void sub() {
System.out.println("Message from the sub method");}}

I get this error:

---------- Capture Output ----------
> "J:j2sdk1.4.2_06jrebinjava.exe" MultiMethod
java.lang.NoClassDefFoundError: MultiMethod
Exception in thread "main"
> Terminated with exit code 1.

Please assist.
Previous Topic: Exception in thread "main"java.lang.NoClassDefFoundError
Next Topic: file handling
Goto Forum:
  


Current Time: Fri Apr 19 19:44:18 CDT 2024