When I run my Ant build in Eclipse, I\'m getting the following error message and the Ant build fails.
Error Message: Error running javac.exe compile
Configuring eclipse to point to JDK instead of JRE did not work for me. With further investigation, I solved this problem by stopping the build process from forking. In your build.xml, remove the attribute fork from tag.
fork