Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

urgent prob!!! Exception in thread "main" java.lang.NoClassDefFoundError: t

843836May 3 2005 — edited May 3 2005
hi need some help here.
had been trying to compile and run my test file called test.java
did a "javac test.java" which looks ok. but can't run with "java test" which gives the following error:
Exception in thread "main" java.lang.NoClassDefFoundError: test

problem is my codes is already very minimal and i don't think there's any error. anyone has any idea?

my codes:
public class test {
public static void main (String[] args) {
System.out.println ("testing");
}
}

thks!
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on May 31 2005
Added on May 3 2005
1 comment
100 views