Possible duplicate:
Unable to find tools.jar
I am trying to use ant to compile with this command:
ant compile
I do not know if a problem arises from my windows 64 bit or something else. Because I have Java installed in 64 and 32 prog files.

I downloaded apache-ant-1.8.2-bin and put it in C: \ Program Files \ apache-ant -1.8.2
I tried putting ant everywhere, I also switched ENV PATH between java 64 and 32, but every time I get this error message:
Unable to find tools.jar. Expected to find it in C: \ Program Files \ Java \ jre6 \ Lib \ tools.jar
I searched tools.jar in the ant lib folder, in java 64 and 32, but did not track it on the system.
What do you think?
java compilation build apache ant
Wassim AZIRAR Jul 13. '11 at 8:26 2011-07-13 08:26
source share