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

后端 未结 9 1159
面向向阳花
面向向阳花 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:25

    Changing the tools.jar in eclipse to the correct version fixed it. I was using jre 1.6 and had to change it to use 1.8 to get the class file in version 52.

提交回复
热议问题