Return-Path: Delivered-To: apmail-ant-user-archive@www.apache.org Received: (qmail 40014 invoked from network); 1 Dec 2003 14:45:09 -0000 Received: from daedalus.apache.org (HELO mail.apache.org) (208.185.179.12) by minotaur-2.apache.org with SMTP; 1 Dec 2003 14:45:09 -0000 Received: (qmail 84606 invoked by uid 500); 1 Dec 2003 14:44:55 -0000 Delivered-To: apmail-ant-user-archive@ant.apache.org Received: (qmail 84565 invoked by uid 500); 1 Dec 2003 14:44:54 -0000 Mailing-List: contact user-help@ant.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Ant Users List" Reply-To: "Ant Users List" Delivered-To: mailing list user@ant.apache.org Received: (qmail 84503 invoked from network); 1 Dec 2003 14:44:54 -0000 Received: from unknown (HELO bosgate01.infosys.com) (216.251.53.3) by daedalus.apache.org with SMTP; 1 Dec 2003 14:44:54 -0000 Received: from 192.168.200.81 by bosgate01.infosys.com (InterScan E-Mail VirusWall NT); Mon, 01 Dec 2003 09:40:28 -0500 Received: from kecmsg07.ad.infosys.com ([192.168.200.68]) by indhubbhs01.ad.infosys.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 1 Dec 2003 20:13:08 +0530 Received: from kecmsg12.ad.infosys.com ([192.168.200.76]) by kecmsg07.ad.infosys.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 1 Dec 2003 20:13:08 +0530 Received: from [192.168.157.82] ([192.168.157.82]) by kecmsg12.ad.infosys.com with Microsoft SMTPSVC(5.0.2195.6713); Mon, 1 Dec 2003 20:13:08 +0530 Mime-Version: 1.0 (Apple Message framework v606) In-Reply-To: <02e401c3b818$c45422c0$e7c6d99f@a.snr.ansf.alcatel.fr> References: <879A5AD5DD0ED511891F0003473A9B5608FF736C@Z011004> <02e401c3b818$c45422c0$e7c6d99f@a.snr.ansf.alcatel.fr> Content-Type: multipart/mixed; boundary="----=_NextPartTM-000-b763269d-c73e-491f-9185-786968872f3c" Message-Id: <531E9B15-240D-11D8-B6EB-000A95991154@infosys.com> From: Priyapravas Subject: Re: Can't start ANT 1.5 on WinNT Date: Mon, 1 Dec 2003 20:17:45 +0530 To: "Ant Users List" X-Mailer: Apple Mail (2.606) X-OriginalArrivalTime: 01 Dec 2003 14:43:08.0020 (UTC) FILETIME=[6F75F340:01C3B819] X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: minotaur-2.apache.org 1.6.2 0/1000/N ------=_NextPartTM-000-b763269d-c73e-491f-9185-786968872f3c Content-Type: multipart/alternative; boundary=Apple-Mail-8--358931308 --Apple-Mail-8--358931308 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=ISO-8859-1; format=flowed This could be far-fetched, but considering you are on a Win32 box, can=20= you include all the environment variables within quotes? I think the=20 JVM is confused with your environment variable settings. I have had=20 this problem earlier on Win32 (WINNT to be specific) and I simply=20 included my variables within quotes and it worked. Cheers, -Priyapravas On Dec 1, 2003, at 8:08 PM, Eric.dl.De_Loof@alcatel.fr wrote: > > setenv.bat : > set JAVA_HOME=3DC:\Program Files\j2sdk1.4.1_05 > set ANT_HOME=3DC:\Program Files\jwsdp-1.3\apache-ant > set JWSDP_HOME=3DC:\Program Files\jwsdp-1.3 > > Control panel / System : > C:\Program Files\j2sdk1.4.1_05\bin;C:\Program=20 > Files\jwsdp-1.3\bin;C:\Program > Files\jwsdp-1.3\jwsdp-shared\bin;C:\Program=20 > Files\jwsdp-1.3\apache-ant\bin; > > > Command to be executed from a MS-DOS Console (cmd.exe) : > - ant > - or ant -version > Result is the same whatever the directory is ! >> Exception in thread "main" in Java.lang.NoClassDefFoundError >> : Files J2sdk1/4/1_05\lib\tools/jar;c:\Program > Is it normal that we get J2sdk1/4/1_05\lib\tools/jar instead of > J2sdk1.4.1_05\lib\tools.jar ? > > > Thanks for your help ! > Eric > > > ----- Original Message ----- > From: > To: > Sent: Monday, December 01, 2003 3:08 PM > Subject: RE: Can't start ANT 1.5 on WinNT > > > Sorry, I didn=B4t understand. > > - in which directory you are > - what is the command you type in > - what is the value of > ANT_HOME > JAVA_HOME > PATH > - does "ant -version" work? > > > Jan > > >> -----Original Message----- >> From: Eric.dl.De_Loof@alcatel.fr [mailto:Eric.dl.De_Loof@alcatel.fr] >> Sent: Monday, December 01, 2003 2:50 PM >> To: user@ant.apache.org >> Subject: Can't start ANT 1.5 on WinNT >> >> >> Hello all ! >> >> I installed SUN Web Services Developper Pack 1.3 which >> includes apache-ant 1.5. >> OS : Win NT or XP Pro >> >> When i launch ant (c:\ant), i get following message : >> >> Exception in thread "main" in Java.lang.NoClassDefFoundError >> : Files J2sdk1/4/1_05\lib\tools/jar;c:\Program >> >> Any suggestion ? >> >> NB : ClassPath is empty >> LocalClassPath does not exist >> >> >> Eric >> >> > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscribe@ant.apache.org > For additional commands, e-mail: user-help@ant.apache.org > --Apple-Mail-8--358931308 Content-Transfer-Encoding: quoted-printable Content-Type: text/enriched; charset=ISO-8859-1 This could be far-fetched, but considering you are on a Win32 box, can you include all the environment variables within quotes? I think the JVM is confused with your environment variable settings. I have had this problem earlier on Win32 (WINNT to be specific) and I simply included my variables within quotes and it worked.=20 Cheers, = Helvetica-Priyapravas On Dec 1, 2003, at 8:08 PM, Eric.dl.De_Loof@alcatel.fr wrote: setenv.bat : set JAVA_HOME=3DC:\Program Files\j2sdk1.4.1_05 set ANT_HOME=3DC:\Program Files\jwsdp-1.3\apache-ant set JWSDP_HOME=3DC:\Program Files\jwsdp-1.3 Control panel / System : C:\Program Files\j2sdk1.4.1_05\bin;C:\Program Files\jwsdp-1.3\bin;C:\Program Files\jwsdp-1.3\jwsdp-shared\bin;C:\Program Files\jwsdp-1.3\apache-ant\bin; Command to be executed from a MS-DOS Console (cmd.exe) : - ant - or ant -version Result is the same whatever the directory is ! Exception in thread "main" in Java.lang.NoClassDefFoundError : Files J2sdk1/4/1_05\lib\tools/jar;c:\Program Is it normal that we get J2sdk1/4/1_05\lib\tools/jar instead of J2sdk1.4.1_05\lib\tools.jar ? Thanks for your help ! Eric ----- Original Message ----- From: < To: < Sent: Monday, December 01, 2003 3:08 PM Subject: RE: Can't start ANT 1.5 on WinNT Sorry, I didn=B4t understand. - in which directory you are - what is the command you type in - what is the value of ANT_HOME JAVA_HOME PATH - does "ant -version" work? Jan -----Original Message----- From: Eric.dl.De_Loof@alcatel.fr [mailto:Eric.dl.De_Loof@alcatel.fr] Sent: Monday, December 01, 2003 2:50 PM To: user@ant.apache.org Subject: Can't start ANT 1.5 on WinNT Hello all ! I installed SUN Web Services Developper Pack 1.3 which includes apache-ant 1.5. OS : Win NT or XP Pro When i launch ant (c:\ant), i get following message : Exception in thread "main" in Java.lang.NoClassDefFoundError : Files J2sdk1/4/1_05\lib\tools/jar;c:\Program Any suggestion ? NB : ClassPath is empty LocalClassPath does not exist Eric --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org = --Apple-Mail-8--358931308-- ------=_NextPartTM-000-b763269d-c73e-491f-9185-786968872f3c Content-Type: text/plain; charset=us-ascii --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional commands, e-mail: user-help@ant.apache.org ------=_NextPartTM-000-b763269d-c73e-491f-9185-786968872f3c--