ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ninju Bohra <ninju_bo...@yahoo.com>
Subject RE: junit.fork
Date Tue, 08 Mar 2005 20:32:32 GMT
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 
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message