ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Bodewig <bode...@apache.org>
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.

Hmm,

> [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

/sw/CRFS/java-std/THIRDPARTY_JDK/50_1_2/bin/solaris/jre/bin/java

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.

Stefan

Mime
View raw message