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]

Reply via email to