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
If you are running ant in eclipse click run as --> Ant second option and choose JDK path and run the build again.