this message brought to you by .... PIE! .... it's yummy! ;)
Education won't help those who are proudly and willfully ignorant. They'll literally rather die before changing.
I used to have this problem. There's a fix for it - it has to do with the fact that Eclipse is using a javac internally that may not be the same as the one that it gets when running Ant.
this message brought to you by .... PIE! .... it's yummy! ;)
Kshitija Ambulgekar wrote:Hi All,
We are using Ant inbuilt in Eclipse3.1. When we are trying to build the project, build is failing and we are getting following error:
"Unable to find a javac
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK"
Whereas JAVA_HOME is already pointing to java home directory. Also we added tools.jar in the classpath. But no use..
Can somebody help on this?
Martijn Verburg wrote:Hi Sergio Adrian and welcome to Javaranch!
I'm confused as to why ANT would be running inside a Jboss instance, can you elaborate?
suresh talluri wrote:Copy the Tools.jar into Tomcat/common/lib
then restart the server.
I got this tall by not having enough crisco in my diet as a kid. This ad looks like it had plenty of shortening:
Smokeless wood heat with a rocket mass heater
https://woodheat.net
|