Meaningless Drivel is fun!
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

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/
[ December 11, 2002: Message edited by: Nayanjyoti Talukdar ]
I agree. Here's the link:
subject: classpath problem: NoClassDefFoundError
jQuery in Action, 3rd edition