I am trying to compile code checked out of SVN from another developer. Eclipse has been giving me a lot of trouble lately.
Here are my project-specific settings:
First of all your project settings have nothing to do with your build script. Project settings tell you how Eclipse builds your project, not how your ant file will run.
To find under which jvm ant runs, right-mouse click your build script in Eclipse and choose "Run as...". In the popup dialog navigate to jvm tab and check which jre is used to run your script.