Hi I set up Junit in d:\Junit, and set classpath to d:\Junit\junit.jar;d:\Junit. then I run the following instruction: java junit.swingui.TestRunner junit.samples.AllTests, a swing ui appears but companies with an error message: Exception in thread "main" java.lang.NoClassDefFoundError: junit.samples.AllTests (wrong name:/Junit/samples/AllTests)....... Could anyone help me?