Posted By:
mike_hardy
Posted On:
Monday, April 18, 2005 09:20 AM
Why do I receive the error: Exception in thread "main" java.lang.NoClassDefFoundError: junit/awtui/TestRunner
Because I can't change into a directory with more than 8 characters, I changed the name of the directory from 'junit3.8.1' to 'junit3'.
I've set the path to:
C:j2sdk1.4.2_07 in;C:junit3junit.jar;C:junit3junit;C:junit3;
At the command prompt I type:cd junit3junit
then: java junit.textui.TestRunner junit.samples.AllTests
What am i doing wrong? What else do i need to do?