openjdk 1.7 in eclipse: operator is not allowed for source level below 1.7

后端 未结 8 1235
无人共我
无人共我 2020-12-14 14:17

Eclipse gives me an error:

\'<>\' operator is not allowed for source level below 1.7 

I guess this is because it is not using java 1

8条回答
  •  萌比男神i
    2020-12-14 14:48

    If you would like to stick with java 1.6, Search and replace <> with empty string. You'll get compiler warnings but the errors should go away.

提交回复
热议问题