Re: AW: javac task and JAVA_HOME when calling from Java code

2006-07-12 Thread Florian Hopf
is (obviously torque ;)) this: The classpath points to several jars used by torque. I've tried to add java.home or tools.jar directly to it, but it didn't work either. If anybody has further suggestions I would be grateful. Kind regards Florian -- /**

javac task and JAVA_HOME when calling from Java code

2006-07-11 Thread Florian Hopf
Hi, I'm executing an ant script from a web application. All tasks I'm using are working fine, except the javac task. On calling it gives the error message: 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 JAVA_HOME and