Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

classpath problem: NoClassDefFoundError

 
Yan Bai
Ranch Hand
Posts: 125
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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!
 
Nayanjyoti Talukdar
Ranch Hand
Posts: 71
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Compile that under mmc folder with this command..
javac server/Test.java
[ December 11, 2002: Message edited by: Nayanjyoti Talukdar ]
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic