ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Wise, Bowden (Research)" <>
Subject Referencing java.home in build.xml
Date Mon, 29 Jul 2002 21:45:54 GMT

Using ant on Windows platform... 

My JAVA_HOME is defined as C:\j2sdk1.4.0
when i reference ${java.home} in my build.xml file it is equal to:

This causes problems if i want to reference a jar file in

For example
   <property name="tools.jar"      value="${java.home}\lib\tools.jar"/>
comes out to be:


Why has the 'jre' directory been added to java.home?

> Bowden
> g GE Global Research Center 
> ___________________________________________________________________________________________________
> ________________
G. Bowden Wise
Information and Decision Technologies
GE Global Research Center
Building K1, Room 5B2C
PO Box 8                            | One Research Circle
Schenectady, NY 12301       | Niskayuna NY 12309
Phone: 518-387-7833           | Fax: 518-387-6104

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message