[fedora-java] Problem with maven-antrun-plugin task being run with the jre rather than the jdk

Orion Poplawski orion at cora.nwra.com
Tue Dec 4 00:10:29 UTC 2012


   seem to be facing a classic issue with a maven-antrun-plugin task being run 
with the jre rather than the jdk and not finding the compiler.  Haven't yet 
found the proper fix though.  Any ideas?

[ERROR] Failed to execute goal 
org.apache.maven.plugins:maven-antrun-plugin:1.7:run (rdt-remote-jars) on 
project org.eclipse.ptp.rdt.core.remotejars: An Ant BuildException has 
occured: The following error occurred while executing this line:
[[ERROR] 
/export/home/orion/fedora/eclipse-ptp/eclipse-ptp-6.0.2/org.eclipse.ptp-PTP_6_0_2/rdt/org.eclipse.ptp.rdt.core.remotejars/build.xml:152: 
Unable to find a javac compiler;
[ERROR] com.sun.tools.javac.Main is not on the classpath.

-- 
Orion Poplawski
Technical Manager                     303-415-9701 x222
NWRA, Boulder Office                  FAX: 303-415-9702
3380 Mitchell Lane                       orion at nwra.com
Boulder, CO 80301                   http://www.nwra.com


More information about the java-devel mailing list