Hi All, I need to have the JDK's tools.jar on my classpath and have been fumbling through the configuration to make this happen. I found the following page which describes how to use the java.home property to locate the tools.jar, http://maven.apache.org/general.html#tools-jar-dependency. But I have also found several pages, such as http://docs.codehaus.org/display/MAVENUSER/MavenPropertiesGuide which point out that java.home might be a JRE and not a JDK. How can we ensure that tools.jar can be found using a relative path from ${java.home}?
Does anyone know how java.home is computed? I have read that it is not always equal to the JAVA_HOME environment variable. Also if context might help, I need the tools.jar to use the maven-apt-plugin. Thanks for any help, Evan
