Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 97738 invoked from network); 10 Apr 2010 11:38:18 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 10 Apr 2010 11:38:18 -0000 Received: (qmail 10534 invoked by uid 500); 10 Apr 2010 11:38:18 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 10497 invoked by uid 500); 10 Apr 2010 11:38:18 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 10490 invoked by uid 99); 10 Apr 2010 11:38:18 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Apr 2010 11:38:18 +0000 X-ASF-Spam-Status: No, hits=4.4 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of nirmal070125@gmail.com designates 209.85.221.181 as permitted sender) Received: from [209.85.221.181] (HELO mail-qy0-f181.google.com) (209.85.221.181) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 10 Apr 2010 11:38:10 +0000 Received: by qyk11 with SMTP id 11so3463650qyk.13 for ; Sat, 10 Apr 2010 04:37:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:received:message-id:subject:from:to:content-type; bh=RKRMoNlOVzzbtsV0lkACFg0KABTC4AUXyp6CWmD9ylY=; b=sa8uFoDPsY6AMVcTp6i2Iyg6orss8MRnBnqZoI5zWmRSzCmyxZMIvzcrkbQKdcILfA irX/AOVxDiXI1sBaEiuNh94dWWLY0sEfdxynusNa2k3RJqK0lxBWAbYwxqJHJOHo0tmF J1c7hQRyqqlVSpMeslI9H0CiTKmV4Y4N4gbcw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=Liex5XgQf7XJOMkgzjy2AQimLgu4/keACTVNDeqMLwUJ20PgnrHF0x5sq/r5QpWbMR IDHuvY5jMDjCmbr0elVTStOGMnEmq2m83VsXOFkuMtBFOSuahduBcWQd65Rve8HYPeN6 lUT2pc6IUNJg7mm1iVAkULitfg2hLlUSMAAkw= MIME-Version: 1.0 Received: by 10.229.70.206 with HTTP; Sat, 10 Apr 2010 04:37:49 -0700 (PDT) In-Reply-To: <584312.92712.qm@web29110.mail.ird.yahoo.com> References: <901820.44561.qm@web29116.mail.ird.yahoo.com> <584312.92712.qm@web29110.mail.ird.yahoo.com> Date: Sat, 10 Apr 2010 17:07:49 +0530 Received: by 10.229.211.204 with SMTP id gp12mr1957659qcb.59.1270899469316; Sat, 10 Apr 2010 04:37:49 -0700 (PDT) Message-ID: Subject: Re: Fw: Juni Tests From: Nirmal Fernando To: derby-dev@db.apache.org Content-Type: multipart/alternative; boundary=0016363b88ae69f2a60483e05778 X-Virus-Checked: Checked by ClamAV on apache.org --0016363b88ae69f2a60483e05778 Content-Type: text/plain; charset=ISO-8859-1 Hi Tiago, Yes, I have placed it tools/java. Can you think of any other reason? Thanks !! On Sat, Apr 10, 2010 at 4:58 PM, Tiago Espinha wrote: > Hello Nirmal, > > Did you place the JUnit jar in the classpath? That error basically says > that Java isn't finding the JUnit classes, so make sure you have included > it. > > I usually just place it under tools/java. > > Tiago > > ------------------------------ > *From:* Nirmal Fernando > *To:* derby-dev@db.apache.org > *Sent:* Sat, 10 April, 2010 12:13:24 > *Subject:* Re: Fw: Juni Tests > > Hi All, > > @Tiago: Thanks for the reply & advice. > > But still I get the same error. > > C:\OtherNirmal\GSoC\Testing\suites.ALL>java junit.textui.TestRunner > org.apache.d > erbyTesting.functionTests.suites.All > 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. > > > Can someone help me to overcome this? > > Thanks in advance !!!! > > > On Sat, Apr 10, 2010 at 4:30 PM, Tiago Espinha wrote: > >> Hello Nirmal, >> >> It is usually best to ask questions on the list as then everyone can have >> a go at helping you. That's why I'm forwarding this to the list in case you >> have any further questions. >> >> As for this question, you have a typo on the class name for junit, it >> should be "junit.textui.TestRunner" (notice, textui and not testui). >> >> Hope it helps, >> Tiago >> >> ----- Forwarded Message ---- >> *From:* Nirmal Fernando >> *To:* Tiago Espinha >> *Sent:* Sat, 10 April, 2010 11:53:28 >> *Subject:* Juni Tests >> >> Hi Tiago, >> >> Sorry for disturbing you. I have another question. >> >> When I issued java junit.testui.TestRunner >> org.apache.derbyTesting.functionTests.suites.All I got an error :(. >> >> C:\OtherNirmal\GSoC\Testing\suites.ALL>java junit.testui.TestRunner >> org.apache.d >> erbyTesting.functionTests.suites.All >> Exception in thread "main" java.lang.NoClassDefFoundError: >> junit/testui/TestRunn >> er >> Caused by: java.lang.ClassNotFoundException: junit.testui.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.testui.TestRunner. Program will >> exit. >> >> >> You have any idea how can I overcome this?? >> >> Thank you very much !!! >> >> -- >> Best Regards, >> Nirmal >> >> C.S.Nirmal J. Fernando >> Department of Computer Science & Engineering, >> Faculty of Engineering, >> University of Moratuwa, >> Sri Lanka. >> >> > > > -- > Best Regards, > Nirmal > > C.S.Nirmal J. Fernando > Department of Computer Science & Engineering, > Faculty of Engineering, > University of Moratuwa, > Sri Lanka. > > -- Best Regards, Nirmal C.S.Nirmal J. Fernando Department of Computer Science & Engineering, Faculty of Engineering, University of Moratuwa, Sri Lanka. --0016363b88ae69f2a60483e05778 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Hi Tiago,

Yes, I have placed it tools/java. Can you thin= k of any other reason?

Thanks !!

On Sat, Apr 10, 2010 at 4:58 PM, Tiago Espinha <tiago.derby@ya= hoo.co.uk> wrote:
Hello = Nirmal,

Did you place the JUnit jar in the classpath? That erro= r basically says that Java isn't finding the JUnit classes, so make sur= e you have included it.

I usually just place it un= der tools/java.

Tiago


From: Nirm= al Fernando <nirmal070125@gmail.com>
To: derby-dev@db.apache.org
Sent: Sat, 10 April, 2010 12= :13:24
Subject: Re: Fw: J= uni Tests

Hi All,

<= /div>
@Tiago: Thanks for the reply & advice.

Bu= t still I get the same error.=A0

C:\OtherNirmal\GSoC\Testing\suites= .ALL>java junit.textui.TestRunner org.apache.d
erbyTesting.functi= onTests.suites.All
Exception in thread "main" java.lang.NoClassDefFound= Error: junit/textui/TestRunn
er
Caused by: java.lang.= ClassNotFoundException: junit.textui.TestRunner
=A0=A0 =A0 =A0 =A0= at java.net.URLClassLoader$1.run(Unknown Source)
=A0=A0 =A0 =A0 =A0at java.securi= ty.AccessController.doPrivileged(Native Method)
=A0=A0 =A0 =A0 =A0= at java.net.URLClassLoader.findClass(Unknown Source)
=A0=A0 =A0 =A0 =A0at java.la= ng.ClassLoader.loadClass(Unknown Source)
=A0=A0 =A0 =A0 =A0= at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
<= div>=A0=A0 =A0 =A0 =A0a= t java.lang.ClassLoader.loadClass(Unknown Source)
=A0=A0 =A0 =A0 =A0= at java.lang.ClassLoader.loadClassInternal(Unknown Source)
Could not find the mai= n class: junit.textui.TestRunner. =A0Program will exit.


Can someone help me to overcome this?

Thanks in advance !!!!


=
On Sat, Apr 10, 2010 at 4:30 PM, Tiago Esp= inha <tiago.derby@yahoo.co.uk> wrote:=
Hell= o Nirmal,

It is usually best to ask questions on the list as then= everyone can have a go at helping you. That's why I'm forwarding t= his to the list in case you have any further questions.

As for this question, you have a typo on the class name for junit, it = should be "junit.textui.TestRunner" (notice, textui and not testu= i).

Hope it helps,
Tiago

----- Forward= ed Message ----
From: Nirmal Fernando <= nirmal070125@gmail.com>
To: Tiago Espinha <tiago.derby@yahoo.co.uk>
Sent: Sat, 10 April, 2010 11= :53:28
Subject: Juni Test= s

Hi Tiago,

Sorry for disturbing you. I ha= ve another question.

When I issued java junit.testui.TestRunner org.apache.d= erbyTesting.functionTests.suites.All I got an error :(.

C:\OtherNirmal\GSoC\Testing\suites.ALL>java junit.te= stui.TestRunner org.apache.d
erbyTesting.functionTests.suites.All=
Exception in thread "main" java.lang.NoClassDefFoundEr= ror: junit/testui/TestRunn
er
Caused by: java.lang.ClassNotFoundException: junit.testui= .TestRunner
=A0=A0 =A0 =A0 =A0at java.net.URLClassLoader$1.run(Un= known Source)
=A0=A0 =A0 =A0 =A0at java.security.AccessController= .doPrivileged(Native Method)
=A0=A0 =A0 =A0 =A0at java.net.URLClassLoader.findClass(Unknown Source)=
=A0=A0 =A0 =A0 =A0at java.lang.ClassLoader.loadClass(Unknown Sou= rce)
=A0=A0 =A0 =A0 =A0at sun.misc.Launcher$AppClassLoader.loadCl= ass(Unknown Source)
=A0=A0 =A0 =A0 =A0at java.lang.ClassLoader.loadClass(Unknown Source)
<= div>=A0=A0 =A0 =A0 =A0at java.lang.ClassLoader.loadClassInternal(Unknown So= urce)
Could not find the main class: junit.testui.TestRunner. =A0= Program will exit.


You have any idea how can I overcome thi= s??

Thank you very much !!!

--
Best R= egards,
Nirmal

C.S.Nirmal J. Fernando
Department of Computer S= cience & Engineering,
Faculty of Engineering,
University of Moratuwa,
Sri Lanka.




--
Best Regard= s,
Nirmal

C.S.Nirmal J. Fernando
Department of Computer Scienc= e & Engineering,
Faculty of Engineering,
University of Moratuwa,<= br> Sri Lanka.




--
Best Regard= s,
Nirmal

C.S.Nirmal J. Fernando
Department of Computer Scienc= e & Engineering,
Faculty of Engineering,
University of Moratuwa,<= br> Sri Lanka.
--0016363b88ae69f2a60483e05778--