Hi Jayaram,

My 0.02$: Do you have JUnit in your CLASSPATH?

The required JAR should be under the tools/java directory in your local copy of the trunk.

Sylvain

Jayaram Subramanian a écrit :
Hi,
I tried running the Suites.All and kept getting the following issue. Could you please help me figure out where i am going wrong

With Regards
Jayaram


C:\java\Derby\source\trunk\tools\java>java -client -Dderby.tests.trace=true -XX: MaxPermSize=128M -Xmx1024M -Xms512M junit.textui.TestRunner org.apache.derbyTest
ing.functionTests.suites.All >c:\mytasks\test.out
Exception in thread "main" java.lang.NoClassDefFoundError: junit/textui/TestRunn
er
Caused by: java.lang.ClassNotFoundException: junit.textui.TestRunner
        at java.net.URLClassLoader$1.run(Unknown Source)
        at java.security.AccessController.doPrivileged(Native Method)
        at java.net.URLClassLoader.findClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClass(Unknown Source)
        at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the main class: junit.textui.TestRunner.  Program will exit.




--
[email protected]
http://www.chicoree.fr


Reply via email to