[Java] Exception in thread "main" java.lang...

Sascha Balkau sbalkau at gmail.com
Wed Feb 1 09:41:46 EST 2006


simply java Foo.class.
Where and how would I have to define the classpath?


>
>
>> The classpath doesn't seem defined.  What is the command you're using to 
>> launch the application ?
>>
>> Nicolas
>>
>> ----- Original Message ----- 
>> From: "Sascha Balkau" <sbalkau at gmail.com>
>> To: <Java at osflash.org>
>> Sent: Wednesday, February 01, 2006 4:18 AM
>> Subject: [Java] Exception in thread "main" java.lang...
>>
>>
>>> Hi list,
>>> I already have a question too ...
>>>
>>> When I try to run a compiled Java class from the DOS prompt (Windows) I
>>> always get the following error:
>>> Exception in thread "main" java.lang.NoClassDefFoundError: Foo/class
>>>
>>> This doesn't happen if I build/run from the Eclipse IDE. Could somebody 
>>> tell
>>> me what the problem is? I'm rather new to Java.
>>>
>>> Sascha
>>>
>>>
>>> _______________________________________________
>>> Java mailing list
>>> Java at osflash.org
>>> http://osflash.org/mailman/listinfo/java_osflash.org
>>>
>>
>> _______________________________________________
>> Java mailing list
>> Java at osflash.org
>> http://osflash.org/mailman/listinfo/java_osflash.org 




More information about the Java mailing list