Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NoClassDefFoundError

 
Anila Mathew
Ranch Hand
Posts: 69
Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am getting this error, Exception in thread, NoClassDefFoundError, when trying to run a program.I have set classpath, Path and JAVA_HOME.what else to do to run the program?
 
Raghu Shree
Ranch Hand
Posts: 143
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I think you have missed to refer current folder ie., working directory in your classpath. Add ;.; to your classpath. For example CLASSPATH=c:\j2ee\ tools.jar;.;
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic