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
I fixed the problem like this:
My Java home folder had the wrong path. It should have been C:\Program Files (x86)\Java\jdk1.5.0_15 but instead it was C:\Program Files (x86)\Java\jdk1.5.0_15\bin.
C:\Program Files (x86)\Java\jdk1.5.0_15
C:\Program Files (x86)\Java\jdk1.5.0_15\bin