ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ramasubbu, Hari" <Hari.Ramasu...@ap.bdi.gte.com>
Subject RE: java_home warning
Date Thu, 24 May 2001 21:21:03 GMT

thanks for the reply.i have set the env var as JAVA_HOME.but stil i have the
problem.
here is my set.txt

thanks :)
hari

**************
ALLUSERSPROFILE=C:\Documents and Settings\All Users
ANT_HOME=c:\jakarta-ant-1.3
APPDATA=C:\Documents and Settings\HRamasub\Application Data
CLASSPATH=C:\jdk1.3.1\lib\tools.jar;C:\jakarta-ant-1.3\lib
CommonProgramFiles=C:\Program Files\Common Files
COMPUTERNAME=HRAMASUB
ComSpec=C:\WINNT\system32\cmd.exe
HOMEDRIVE=C:
HOMEPATH=\
JAVA_HOME=c:\jdk1.3.1
LOGONSERVER=\\EAPI001
NUMBER_OF_PROCESSORS=1
OS=Windows_NT
Os2LibPath=C:\WINNT\system32\os2\dll;
Path=C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\jdk1.3.1\bin;C:\ja
karta-ant-1.3\bin
PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH
PROCESSOR_ARCHITECTURE=x86
PROCESSOR_IDENTIFIER=x86 Family 6 Model 8 Stepping 1, GenuineIntel
PROCESSOR_LEVEL=6
PROCESSOR_REVISION=0801
ProgramFiles=C:\Program Files
PROMPT=$P$G
SystemDrive=C:
SystemRoot=C:\WINNT
TEMP=C:\DOCUME~1\HRamasub\LOCALS~1\Temp
TMP=C:\DOCUME~1\HRamasub\LOCALS~1\Temp
USERDOMAIN=EAPI
USERNAME=hramasub
USERPROFILE=C:\Documents and Settings\HRamasub
windir=C:\WINNT
*************

-----Original Message-----
From: Bill.J.Fellows@mail.sprint.com
[mailto:Bill.J.Fellows@mail.sprint.com]
Sent: Thursday, May 24, 2001 4:05 PM
To: ant-user@jakarta.apache.org
Subject: RE: java_home warning


is it java_home or JAVA_HOME.  It makes a difference as I recall.

set > set.txt
send that (inline - not as an attachment) if the preceeding does not 
work.



-----Original Message-----
From: Hari.Ramasubbu [mailto:Hari.Ramasubbu@ap.bdi.gte.com]
Sent: Thursday, May 24, 2001 4:01 PM
To: ant-user
Subject: java_home warning



I have a question .I have set the java_home env variable in my win 2000
machine .but still i get this error on my command line .
-----------------------------------
   C:\>ant

Warning: JAVA_HOME environment variable is not set.
  If build fails because sun.* classes could not be found
  you will need to set the JAVA_HOME environment variable
  to the installation directory of java.

Build failed
-----------------------------------

any help is greatly appreciated.

thanks :)
hari



Mime
View raw message