<p>JBuilder 6 problem
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   Caesar_Montoya
Posted On:   Wednesday, January 16, 2002 03:55 PM

I am new to JBuilder. I downloaded v.6 and created a simple "Hello World" program. The program compiled with no errors but when I try to run it, I get

			
"java.lang.NoClassDefFoundError: junit/textui/TestRunner
Exception in thread "main"

When I click the run command button, it gives me a few options. Do I have a path problem?


Please use html tags to format code blocks.

Re: <p>JBuilder 6 problem

Posted By:   Shahram_Khorsand  
Posted On:   Wednesday, January 16, 2002 10:40 PM

Are you using JUnit for your example!?

JUnit is a unit testing framework.If not, easies way of getting rid of it is to create a new project och remove the old one.

The message you get is probably because you have chosen to "Run test" from the menu. Or if you have chosen to create a test unit and does not have JUnit in the project libraries.

Look in Project | project properties and in the path tab you find the "required library". Add JUnit and test again.


Good luck!

About | Sitemap | Contact