ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <>
Subject Re: java with fork=true produces IOException on UnixProcess.forkAndEx ec on solaris 8
Date Tue, 01 Apr 2003 15:18:32 GMT

> java is in the path as the selection below indicates.

Yes, but as the verbose log says, Ant is executing it using the
absolute paths anyway, which could be wrong (very unlikely) or just be
non-executable ...

> It references $JAVA_HOME/bin/java whereas ant uses
> $JAVA_HOME/jre/bin/java but they both work.


> [jrosenbl@nys31a-0122 test]$ which java
> /sw/CRFS/java-std/THIRDPARTY_JDK/1_3_2/bin/solaris/bin/java
> [jrosenbl@nys31a-0122 test]$
> /sw/CRFS/java-std/THIRDPARTY_JDK/1_3_2/bin/solaris/jre/bin/java Test

is not the same as


that Ant claims to execute.

Does that file exists?  Is it executable (by you)?

Please try the exact command line Ant says it is trying to execute.


View raw message