ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ciramella, EJ" <ECirame...@emptoris.com>
Subject RE: JAVA_HOME ignored by ant?
Date Wed, 08 Oct 2003 21:10:35 GMT
Do you have the JDK or the JRE installed (look for a javac.exe in the bin
directory?)?

Also, in Program Files, is there a java.exe?  And if so, does that take
priority over any JAVA_HOME installation?

-----Original Message-----
From: Avery Marvin R [mailto:Marvin.R.Avery@irs.gov]
Sent: Wednesday, October 08, 2003 5:05 PM
To: Ant Users List (E-mail)
Subject: JAVA_HOME ignored by ant?


Can anyone tell me why the JAVA_HOME env var below is not recognized by
ant? Here is the relevant information. Thanks in advance - MRA


Y:\cisprod\codebase\j2ee\workflow>ant ear
Unable to locate tools.jar. Expected to find it in C:\Program
Files\JavaSoft\JRE
\1.3.1_08\lib\tools.jar
Buildfile: build.xml

init:

BUILD FAILED
Y:\cisprod\codebase\j2ee\workflow\build.xml:31: Directory Y:\build\CIS
creation
was not successful for an unknown reason

Total time: 7 seconds
Y:\cisprod\codebase\j2ee\workflow>path
PATH=C:\WINNT\system32;C:\WINNT;d:\atria\bin;d:\cis_setup\java_tools\ant\bin
;d:\
cis_setup\java_tools\jdk_1_3_1_08\bin;D:\cis_setup\java_tools\ant\bin

Y:\cisprod\codebase\j2ee\workflow>set
ANT_HOME=D:\cis_setup\java_tools\ant
COMPUTERNAME=NCT0010NCCBLD10
ComSpec=C:\WINNT\system32\cmd.exe
HOMEDRIVE=I:
HOMEPATH=\SCDick00
HOMESHARE=\\Nct0010ncfp10\data
JAVA_HOME=D:\cis_setup\java_tools\jdk1_3_1_08
LOGONSERVER=\\NCT0010NODC2
NUMBER_OF_PROCESSORS=2
OS=Windows_NT
Path=C:\WINNT\system32;C:\WINNT;d:\atria\bin;d:\cis_setup\java_tools\ant\bin
;d:\
cis_setup\java_tools\jdk_1_3_1_08\bin;D:\cis_setup\java_tools\ant\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 5 Stepping 2, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0502
PROMPT=$P$G
SystemDrive=C:
SystemRoot=C:\WINNT
TEMP=C:\TEMP
TMP=C:\TEMP
USERDOMAIN=NO
USERNAME=SCDick00
USERPROFILE=C:\WINNT\Profiles\scdick00.000
windir=C:\WINNT


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message