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]

Reply via email to