ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bizard Nicolas (KIRO 41)" <nicolas.biz...@credit-suisse.com>
Subject RE: JAVA-HOME is pointing to JRE
Date Tue, 23 Oct 2007 06:23:05 GMT
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:tcrow777@yahoo.com] 
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: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message