Eclipse/Ant build failure - com.sun.tools.javac.Main is not on the classpath
<p>I get the following error when I try to build my project in eclipse using Ant.
Searching for solutions suggests that JAVA_HOME should point to JDK instead of JRE and there should be a tool.jar in JAVA_HOME/lib folder. As shown in the following error message, JAVA_HOME is pointing to the JDK, but it doesn't have tools.jar in the lib folder. Is it correct to assume Oracle is no longer shipping tools.jar with the JDK? Where can I find com.sun.tools.javac.Main ?</p>

<pre><code>com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files\Java\jdk1.8.0_73"
</code></pre>

<p>Thank you</p>