I cannot run my Ant build.xml since I updated to java 1.7.0_52 (or there about). I have been running it for years through Eclipse locally on my Windows 7 laptop - but with t
I was having the same message when running ANT through Eclipse.
What worked for me:
tools.jar
was wrong. It was pointing to an older version of Java;