eclipse magic: … Syntax error, varargs are only available if source level is 1.5 or greater

前端 未结 11 1483
醉话见心
醉话见心 2020-12-09 15:06

Yesterday I made a project in eclipse, and it was working, compiling. I used Eclipse Galileo for Java EE. Today I open eclipse and see lots of errors saying that stuff is no

11条回答
  •  青春惊慌失措
    2020-12-09 15:30

    Just make sure Java > Installed JREs has jre6 instead of jdk1.6.0

    Eclipse seems detect jdk6 as not jre 1.5+

提交回复
热议问题