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?
posted 11 years ago
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;.;
Raghu J<br />SCJP 1.4<br /> <br />The Wind and waters are always<br />on the side of the ablest navigators.<br /><a href="http://groups.yahoo.com/group/scjp_share" target="_blank" rel="nofollow">SCJP Group</a><br /><a href="http://groups.yahoo.com/group/JavaBeat_SCWCD" target="_blank" rel="nofollow">SCWCD Group</a>