ant-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Oliver Schalch <>
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; 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.


Oliver Schalch                 
Wyona Inc.  -   Open Source Content Management   -   Apache Lenya            

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message