Re: Exception in thread "main" java.lang.NoClassDefFoundError
- From: "thickface" <kimfinale@xxxxxxxxx>
- Date: 30 Sep 2005 07:57:53 -0700
First, thanks for the reply.
It is a really simple program, Hello World.
public class HelloWorldApp
{
public static void main (String arg[]){
System.out.println("Hello World");
}
}
Actually, i ran other programs too. I was able to compile all the
programs , and, in this particular case, the command i used is
java HelloWorldApp(.class).
I used both with class and without class. I got the same following
message.
Exception in thread "main" java.lang.NoClassDefFoundError:
HelloWorldApp(/class)
I was able to compile and run in the Linux machine at the University.
So, seems like problem is in my laptop envirionment.
Thank you very much.
.
- Follow-Ups:
- Re: Exception in thread "main" java.lang.NoClassDefFoundError
- From: Gordon Beaton
- Re: Exception in thread "main" java.lang.NoClassDefFoundError
- References:
- Exception in thread "main" java.lang.NoClassDefFoundError
- From: thickface
- Exception in thread "main" java.lang.NoClassDefFoundError
- Prev by Date: Re: Why no SSCCEs?
- Next by Date: How often does a Java Web Start application update itself?
- Previous by thread: Exception in thread "main" java.lang.NoClassDefFoundError
- Next by thread: Re: Exception in thread "main" java.lang.NoClassDefFoundError
- Index(es):