[ https://jira.codehaus.org/browse/MANTRUN-91?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benson Margulies closed MANTRUN-91. ----------------------------------- Resolution: Not A Bug Assignee: Benson Margulies This is not a defect. tools.jar aren't in the default maven plugin classpath. If you want to run javac, add a tools.jar reference to the classpath with a dependency in the plugin declaration. > Cannot run javac from tasks > --------------------------- > > Key: MANTRUN-91 > URL: https://jira.codehaus.org/browse/MANTRUN-91 > Project: Maven 2.x Antrun Plugin > Issue Type: Bug > Reporter: Thomas Diesler > Assignee: Benson Margulies > > Embedded error: The following error occurred while executing this line: > /home/tdiesler/svn/jbossws/stack/native/trunk/modules/testsuite/native-tests/scripts/antrun-wstools.xml:65: > Unable to find a javac compiler; > com.sun.tools.javac.Main is not on the classpath. > Perhaps JAVA_HOME does not point to the JDK -- This message is automatically generated by JIRA. For more information on JIRA, see: http://www.atlassian.com/software/jira