Hi,
did you try to print the java home within your ant script?
See there for basic env variables printing :
http://betabloguant.free.fr/index.php?2007/10/17/451-another-ant-trick

Some variables that are printable :
java.version, java.version, user.home, java.class.path


Hope that helps...

-----Original Message-----
From: Timothy Crowell [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, October 23, 2007 8:17 AM
To: user@ant.apache.org
Subject: JAVA-HOME is pointing to JRE

I am new to Java and Ant.

I have set JAVA-HOME to "C:\Program Files\Java\jdk1.6.0_03" (no quotes),
I have dubble-checked this.

Ant says JAVA-HOME is set to "C:\Program Files\Java\jre1.6.0_03" (no
quotes), this is causing serious problems, especially concerning
tools.jar.

Can you help me fix this?

-Timothy



__________________________________________________
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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


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

Reply via email to