Rick,
Another thing you might want to consider is testing your
class with the JDK on the platform you built it
on. IDE's sometime hide essential information
from the developer until you try to run it
elsewhere. If you had tried to run this code in
a DOS window with the JDK you would heve seen the same
behavior and probably have saved yourself some time.
Regards
Tony Dean
>===== Original Message From Matthias Pfisterer <[EMAIL PROTECTED]>
=====
>Hi Rick,
>
>Do not run your program with
> java First_tst.class
>Instead, run it with
> java First_tst
>
>Matthias
>
>
>Rick Rothweiler wrote:
>>
>> Hi All:
>> I am fairley new to java, and receintly wrote a very
>> simple program in a windows IDE. I tried to run the .class file on my
>>
>> linux machine with no luck. Both systems have jdk 1.2.2. My linux
>> machine says "Exception in thread "main"
>>
>> java.lang.NoClassDefFoundError: First_tst/class. Any Ideas.
>>
>> ----------------------------------------------------------------------
>> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>> with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
>
>--
>Matthias Pfisterer <mailto:[EMAIL PROTECTED]>
>
> Share your knowledge.
> It's a way to achieve immortality.
>
> (from a nepalese mantra)
>
>Java Sound Examples:
>http://rupert.informatik.uni-stuttgart.de/~pfistere/jsexamples/
>Tritonus, the open source implementation of the Java Sound API:
>http://tritonus.sourceforge.net/
>--------------------------------------------------------------
>
>
>----------------------------------------------------------------------
>To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
----------------------------------------------------------------------
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]