db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sylvain Leroux <sylv...@chicoree.fr>
Subject Re: Suites.All
Date Fri, 19 Mar 2010 05:18:55 GMT
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.
> 
> 


-- 
sylvain@chicoree.fr
http://www.chicoree.fr



Mime
View raw message