ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Schalch <oliver.scha...@wyona.com>
Subject Javac tasks (when calling from java)
Date Mon, 03 Apr 2006 14:19:22 GMT
Hi List, 

Another Problem...

Calling ant from Java (inside a bigger project)

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

Alright, ofcourse the JAVA_HOME are set correct.

How could I fix that?

Do I have to write a own classloader with the tools.jar in it, and use
it with project#setClassLoader ?

Any hints, please.


Thanks
Oliver



-- 
Oliver Schalch                           oliver.schalch@wyona.com
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya
http://www.wyona.com                      http://lenya.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org


Mime
View raw message