interpreting problem

Discussions

Web tier: servlets, JSP, Web frameworks:  interpreting problem

  1.  interpreting problem (2 messages)

    the following error happens even when classpath is set properly why?
    java junit.swinggui.Testrunner
    Exception in thread "main" java.lang.NoclassDefFoundError :junit/swinggui/Testrunnner

    Threaded Messages (2)

  2.  interpreting problem[ Go to top ]

    hope Testrunnner is in dir junit/swinggui/ and parent of junit is placed in the classpath. to run Testrunnner use :

    java junit.swinggui.Testrunner

    this should work...
  3.  interpreting problem[ Go to top ]

    I have done the following
    unzip the junit.zip file
    add junit.jar to the CLASSPATH. For example: set classpath=%classpath%;INSTALL_DIR\junit3\junit.jar
    test the installation by using either the batch or the graphical TestRunner tool to run the tests that come with this release. All the tests should pass OK.
    for the batch TestRunner type:
        java junit.textui.TestRunner junit.samples.AllTests
    for the graphical TestRunner type:
        java junit.awtui.TestRunner junit.samples.AllTests
    for the Swing based graphical TestRunner type:
        java junit.swingui.TestRunner junit.samples.AllTests

    but still i get the same error as class def error