CLASSPATH is assumed to be "." unless another CLASSPATH is given; even then,
classes/jars in the Extensions directory are automatically present.
Ted Neward
Patterns/C++/Java/CORBA/EJB/COM-DCOM spoken here
http://www.javageeks.com/~tneward
"I don't even speak for myself; my wife won't let me." --Me
-----Original Message-----
From: Thomas M. Sasala <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Cc: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Wednesday, September 15, 1999 6:10 AM
Subject: Re: Class not found
>
> With JDK 1.2, you don't need to specify the classpath
>when you run an app. That might be your probelm.
>
>
>Christian Posse wrote:
>>
>> Hi,
>>
>> sorry for maybe asking an obvious question. I have seen that problem
>> posted in
>> the past but I can't find the answer to it.
>>
>> I just upgraded to jdk 1.2pre_v2 (glibc 2.1) from 1.1.7_v3.
>> I have RH 6.0. What worked before under 1.1.7 v3 does not work any
>> more.
>> (The problem is not Kaffee, I did not install it).
>>
>> set MYCLASSPATH= .:<a bunch of directories here>
>> java -classpath $MYCLASSPATH com.dir1.dir2.MyApp
>>
>> Exception in thread "main" java.lang.NoClassDefFoundError:
>> com/dir1/dir2/MyApp
>>
>> any clue would be greatly appreciated. Thanks in advance.
>> Christian
>>
>> ----------------------------------------------------------------------
>> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
>> with a subject of "unsubscribe". Trouble? Contact
[EMAIL PROTECTED]
>
>--
>+-------------------------------------------------------------------+
>+ Thomas M. Sasala, Electrical Engineer [EMAIL PROTECTED] +
>+ MRJ Technology Solutions http://www.mrj.com +
>+ 10461 White Granite Drive, Suite 102 (W)(703)277-1714 +
>+ Oakton, VA 22124 (F)(703)277-1702 +
>+-------------------------------------------------------------------+
>
>
>----------------------------------------------------------------------
>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]