aspose file tools
The moose likes Java in General and the fly likes junit compile problem Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Java » Java in General
Reply locked New topic
Author

junit compile problem

alpha philips
Greenhorn

Joined: Oct 08, 2004
Posts: 2
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?
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24081
    
  15

Please don't post duplicates. I'm closing this thread and leaving this one open.


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: junit compile problem
 
Similar Threads
junit - set classpath problem
Junit compile problem
Starting JUnit - Testcenter
JUnit installation problem
JUnit newbie