Thorsten Heit wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi,
Embedded error: 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
I got a similar error recently when I wanted to call Ant's RMIC task. I
solved it by adding a dependency to the tools.jar to the
maven-antrun-plugin:
Smashing, it compiles my generation tool now. It seems to be a bit of a hack
though... Anyway of stopping it looking for the dependency in the central repo
everytime...?
Cheers,
--
Bob Arnott
Senior Software Developer
Autonomy Systems Ltd.
Cambridge Business Park
Cowley Road
Cambridge
CB4 0WZ
T: +44 (0) 1223 448 000
F: +44 (0) 1223 448 001
http://www.aungate.com/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]