ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Payette, Don J" <>
Subject RE: junit.fork
Date Tue, 08 Mar 2005 20:36:02 GMT
This is a byproduct of our mainframe implementation.  The solution is
to have it not do the fork, but use the JVM that ant is already running

(On our machine, the java executable is not called java). 

Don Payette

PROPRIETARY MATERIAL and is thus for use only by the intended recipient.
If you received this in error, please contact the sender and delete the
e-mail and its attachments from all computers.

-----Original Message-----
From: Ninju Bohra [] 
Sent: Tuesday, March 08, 2005 2:33 PM
To: Ant Users List
Subject: RE: junit.fork

Based on the error stack that you posted....
  [property] Override ignored for Domain
      [java] Forking java
-Dspecjappserver.home=/SPECjAppServer2002 -classpath /-
 /JAVATEST2/DIR/DONP/SPEC/jars/load.jar org.spec.japp
 server.load.LoadCorp 1
 /-/JAVATEST2/DIR/DONP/SPEC/build.xml:381: not
 --- Nested Exception --- java: not found
        at java.lang.UNIXProcess.forkAndExec(Unknown Source)
        at java.lang.UNIXProcess.<init>(
        at java.lang.Runtime.execInternal(Unknown Source)
The real error (by looking at the --- Nested Exception --- area) is the
java executable was not found by the Runtime.exec function call.
This is very perplexing because ANT itself is written is JAVA and if
java was found to run ANT it should have been found to run by the
Runtime.exec call...
You might have a private java or you don't have JAVA_HOME registered
Sorry I could not be more specific

Celebrate Yahoo!'s 10th Birthday! 
 Yahoo! Netrospective: 100 Moments of the Web 

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message