File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes classpath problem: NoClassDefFoundError Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Beginning Java
Bookmark "classpath problem: NoClassDefFoundError" Watch "classpath problem: NoClassDefFoundError" New topic
Author

classpath problem: NoClassDefFoundError

Yan Bai
Ranch Hand

Joined: Jul 21, 2002
Posts: 125
Hi all,
My classpath is set as:
setenv CLASSPATH /disk/.../mmc:.
I have a java file under /disk/.../mmc/server/
I tried to compile it under server folder, but always get NoClassDefFoundError.
If I comment line1 out and compile this file under server directory, it compiles ok.
I was sucked
Thanks in advance for your help!


SCJP 1.4
Nayanjyoti Talukdar
Ranch Hand

Joined: Feb 12, 2002
Posts: 71
Compile that under mmc folder with this command..
javac server/Test.java
[ December 11, 2002: Message edited by: Nayanjyoti Talukdar ]
 
GeeCON Prague 2014
 
subject: classpath problem: NoClassDefFoundError