Apache Ant: “Unable to locate tools.jar”


Unable to locate tools.jar. Expected to find it in C:Program Files...Javajre...libtools.jar

Do you know this message? Do you want to get rid of it? Take the JDK (downloadable) instead of the JRE (downloadable), as it comes with tools.jar, which Ant likes to make use of. Ant will also run w/o tools.jar, but it will keep complaining that it is not able to find it.

This site uses Akismet to reduce spam. Learn how your comment data is processed.