Eclipse won't compile, bad class file, wrong version

后端 未结 9 1153
面向向阳花
面向向阳花 2021-01-18 01:46

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:

9条回答
  •  醉话见心
    2021-01-18 02:11

    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.

提交回复
热议问题