ant-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glenn McAllister <gl...@somanetworks.com>
Subject Re: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs Javadoc.java
Date Tue, 17 Jul 2001 13:53:19 GMT
Nico Seessle wrote:

> ----- Original Message -----
> From: "Herman, Dave" <dherman@intrado.com>
> To: <ant-dev@jakarta.apache.org>
> Sent: Monday, July 16, 2001 6:35 PM
> Subject: RE: cvs commit: jakarta-ant/src/main/org/apache/tools/ant/taskdefs
> Javadoc.java
>
> > Is that the right path? I thought the JAVA_HOME variable was supposed to
> be
> > the root directory of the JDK, so the path would be java.home/bin/javadoc?
> >

As Nico has so eloquantly demonstrated ( :-] ), the java.home System property
points to the JRE home dir, not the JDK.

>
>
> C:\temp>type build.xml
> <?xml version="1.0"?>
> <project default="main" basedir=".">
>   <target name="main">
>     <echo message="${java.home}"/>
>   </target>
> </project>
>
> C:\temp>set JAVA
> JAVA_HOME=C:\jdk14
>
> C:\temp>ant.bat
> Buildfile: build.xml
>
> main:
>      [echo] C:\jdk14\jre
>
> BUILD SUCCESSFUL
>
> Total time: 1 second
> C:\temp>
>
> Nico

Glenn McAllister

Mime
View raw message