ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kees van Dieren" <kees.vandie...@mp-objects.com>
Subject RE: java.io.IOException when ececuting the java ant target
Date Tue, 11 Oct 2005 13:09:24 GMT
Hi,

I got the same error starting javac.exe. The cause was that two jars with
the same contents on different locations  were added (eg: jarx.jar was in
c:\dir1 and c:\dir2, both on them added on the classpath). 

Remove entries of these duplicates from the classpath fixed it for me.


Kind regards,

Kees van Dieren
Senior Software Engineer

MP Objects Supply Chain Software
Stationsplein 45
3013 AK Rotterdam
The Netherlands

Post address:
Postbus 29126
3001 GC Rotterdam

Mobile: +31 (0)6-43068619
Phone: +31 (0)10-2900304
Fax: +31 (0)10-2900305


-----Original Message-----
From: Markus Innerebner [mailto:markus.innerebner@wuerth-phoenix.com] 
Sent: Tuesday, October 11, 2005 1:46 PM
To: Ant Users List
Subject: java.io.IOException when ececuting the java ant target

When I am executing that command under windows 2003 server (in a dos
console) I get following error:

C:\data\nb_2_1_sup\jvi\benderIsTesting-zeus_2_1_sup\zeus\bart\lib\bc\build.x
ml:434: 
C:\data\nb_2_1_sup\jvi\benderIsTesting-zeus_2_1_sup\zeus\bart\lib\bc\build.x
ml:434: 
java.io.IOException: CreateProcess: 
C:\java\j2sdk1.4.2_05\jre\bin\java.exe -Xmx1024m -classpath
C:\data\nb_2_1_sup\jvi\benderIsTesting-zeus_2_1_sup\zeus\bart\lib\zeus\zeus.
jar;C:\data\nb_2_1_sup\jvi\benderIsTesting-zeus_2_1_sup\zeus\bart\libext\acr
obat\lib\MRJToolkitStubs.zip;C:\data\nb_2_1_sup\jvi\benderIsTesting-zeus_2_1
_sup\zeus\bart\libext\acrobat\lib\acrobat.jar;C:\data\nb_2_1_sup\jvi\benderI
sTesting-zeus_2_1_sup\zeus\bart\libext\acrobat\lib\ie-stubs.zip;C:\data\nb_2
_1_sup\jvi\benderIsTesting-zeus_2_1_sup\zeus\bart\libext\acrobat\lib\java1.2
-stubs.zip;C:\data\nb_2_1_sup\jvi\benderIsTesting-zeus_2_1_sup\zeus\bart\lib
ext\acrobat\lib\netscape-stubs.zip;C:\data\nb_2_1_sup\jvi\benderIsTesting-ze
us_2_1_sup\zeus\bart\libext\itext\lib\iTextAsian.jar;C:\data\nb_2_1_sup\jvi\
benderIsTesting-zeus_2_1_sup\zeus\bart\libext\itext\lib\iTextAsianCmaps.jar;
C:\data\nb_2_1_sup\jvi\benderIsTesting-zeus_2_1_sup\zeus\bart\libext\itext\l
ib\itext.jar;C:\data\nb_2_1_sup\jvi\benderIsTesting-zeus_2_1_sup\zeus\bart\l
ibext\jaf\lib\activation.jar;C:\data\?

does anybody know any hint about that.

--
best regards

W├╝rth Phoenix S.r.l.
Markus Innerebner
ZEUS Developer
Via Kravogl 4
I-39100 Bolzano
Phone: +39 0471 / 564076
Fax: +39 0471 / 564062
E-Mail: markus.innerebner@wuerth-phoenix.com
Website: http://www.wuerth-phoenix.com

pub  1024D/0E45CE6D 2004-09-28 markusin
<markus.innerebner@wuerth-phoenix.com>
Key fingerprint = 5E12 A775 B742 274B ABFB  DCE8 ED90 806E 0E45 CE6D



---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org For additional
commands, e-mail: user-help@ant.apache.org






---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message