Why do I get a NoClassDefFoundError when trying to test JUnit or run the samples?
(Submitted by: J.B. Rainsberger and Jason Rogers) Most likely your CLASSPATH doesn’t include the JUnit installation directory. Consider running WhichJunit (http://www.clarkware.com/software/WhichJUnit.zip) to print the absolute location of the JUnit class files required to run and i test JUnit and its samples. If the CLASSPATH seems mysterious, read http://java.sun.com/j2se/1.4/docs/tooldocs/findingclasses.