That was my first thought. But I checked the environment and it was getting
the correct path for jikes and the working directory was also correct. Why
did changing the code to use cmd /c ... work? How would this affect the
environment?

Thanks for looking up the code.

Sean

-----Ursprüngliche Nachricht-----
Von: Steve Loughran [mailto:[EMAIL PROTECTED]
Gesendet: Freitag, 9. März 2001 19:50
An: [EMAIL PROTECTED]
Betreff: Re: Patch for using jikes with Win2K and jdk1.3



----- Original Message -----
From: "Sean Ogle" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, March 09, 2001 06:01
Subject: Patch for using jikes with Win2K and jdk1.3


> Hello,
>
> I finally found the problem I was having over on ant-user regarding
running
> jikes on Win2K using jdk1.3.0_02. Apparently the Runtime.exec() doesn't
work
> so well for my purposes because every time the jikes command went out from
> ant, exec() would return an IOException with 'error 2'. I still don't know
> what error 2 is.

from the win32 API, or in this case D:\Studio.net\Vc7\include\error.h

#define ERROR_FILE_NOT_FOUND        2


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to