ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alexey Solofnenko <>
Subject RE: env value for JAVA_HOME
Date Wed, 14 May 2003 20:37:41 GMT
You can use ${java.home} - a built-in Java property. It will return JRE
home. For JDK please use "${java.home}/..".

- Alexey.

{ } Alexey N. Solofnenko
Pleasant Hill, CA (GMT-8 usually)

-----Original Message-----
From: David Thielen [] 
Sent: Wednesday, May 14, 2003 1:10 PM
To: 'Ant Users List'
Subject: env value for JAVA_HOME


Is there an Ant variable that will give me the JAVA_HOME? I need to get the
jre .jar files from that for my classpath.

thanks - dave

View raw message