ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Donald <dona...@apache.org>
Subject Re: ${java.home} - why is it pointing at the JRE?
Date Wed, 10 Jan 2001 01:40:28 GMT
At 09:55  9/1/01 -0800, Filip Hanik wrote:
>when I run ant (on Windows) I set the JAVA_HOME variable to be 
>"d:\java\jdk1.3" but when I use it in ant, it points to "d:\java\jdk1.3\jre"
>  
>any idea if this is correct behavior?

yes it is. You are accessing the property "java.home" in the JVM and the
environment value JAVA_HOME which are different. The change occured from
java 1.2 onwards.

  

Cheers,

Pete

*-----------------------------------------------------*
| "Faced with the choice between changing one's mind, |
| and proving that there is no need to do so - almost |
| everyone gets busy on the proof."                   |
|              - John Kenneth Galbraith               |
*-----------------------------------------------------*


Mime
View raw message