On Feb 22, 2007, at 12:13 PM, Eugene Kuleshov wrote:


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

Even that's a bad idea because not all JDKs provide a tools.jar... for example the Mac OSX JDK bundles the tools.jar code into the classes.jar

You'll need a profile for it at least.

Matt
________________________________________________________________________ ___
Matt Brozowski, OpenNMS Maintainer Main: +1 919 812 4984
The OpenNMS Group, Inc. Fax: +1 503 961 7746
Email: [EMAIL PROTECTED] URL: http://www.opennms.com


Reply via email to