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:[EMAIL PROTECTED]]
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


Reply via email to