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.

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


Don Payette

>THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE
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 [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, March 08, 2005 2:33 PM
To: Ant Users List
Subject: RE: junit.fork

Based on the error stack that you posted....
 
 
 _loaddb:
  [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
         BUILD FAILED
 /-/JAVATEST2/DIR/DONP/SPEC/build.xml:381: java.io.IOException:java: not
found  
 --- Nested Exception ---
        java.io.IOException: java: not found
        at java.lang.UNIXProcess.forkAndExec(Unknown Source)
        at java.lang.UNIXProcess.<init>(UNIXProcess.java:52)
        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
properly.
 
Sorry I could not be more specific
 

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

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

Reply via email to