Thanks for the clarification.
Although, I use JRE_HOME to point to my JRE 8-)

Ioannis Deligiannis| Senior Application Engineer


-----Original Message-----
From: Benjamin Bentmann [mailto:[email protected]] 
Sent: Monday, September 07, 2009 2:42 PM
To: Maven Developers List
Subject: Re: Documentation error?

Ioannis Deligiannis wrote:

> Is states the following:
> 
> <systemPath>${java.home}/../lib/tools.jar</systemPath>
> 
> If not obvious, let say that java.home=c:\java\jdk1
> But this should resolve to:
> C:\java\lib\tools.jar which is wrong.

Usually, ${java.home} points to the private JRE of the JDK, e.g. 
JAVA_HOME=D:\Programme\Java\jdk-1.6.0_07 but

> mvn --version
> Apache Maven 2.2.1 (r801777; 2009-08-06 21:16:01+0200)
> Java home: D:\Programme\Java\jdk-1.6.0_07\jre

such that "${java.home}/../lib/tools.jar" resolves to 
"D:\Programme\Java\jdk-1.6.0_07\lib\tools.jar" as intended.


Benjamin

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to