BTW, it is a bad practice to use "..' reference from JRE, because
tools.jar is actually part of JDK, but JRE not necessarily mean that you
have JDK around. So, I' would suggest to set JAVA_HOME to the proper JDK
and use {$java.home}/lib/tools.jar path instead.
Anyways, please consider to contribute to the project FAQ at
http://docs.codehaus.org/display/M2ECLIPSE/Project+FAQ
regards,
Eugene
Borut Bolčina wrote:
Now I see it! There is an entry:
java.home=C:\Program Files\Java\jre1.5.0_11
which is jre and therefore doesn't have tools.jar. How to convince
Eclipse to point to C:\Program Files\Java\jdk1.5.0_11?
But then...the
<systemPath>${java.home}/../lib/tools.jar</systemPath>
suggests that java.home in Eclipse should be
java.home=C:\Program Files\Java\jdk1.5.0_11\jre
to correctly locate tools.jar.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email