Nico Seessle wrote:
> ----- Original Message -----
> From: "Herman, Dave" <[EMAIL PROTECTED]>
> To: <[EMAIL PROTECTED]>
> 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