Why won't eclipse switch the compiler to Java 8?

前端 未结 11 1599
无人及你
无人及你 2020-12-09 08:06

I checked out a Java project from SVN in eclipse and realized that it requires Java 8 because it uses lambdas etc. I installed the eclipse addon for Java 8 and restarted ecl

11条回答
  •  隐瞒了意图╮
    2020-12-09 08:30

    It cause eclipse kepler SR1 does not support new Java™ 8 language enhancements like lambda expression.

    From information here: http://www.eclipse.org/downloads/java8/
    I think you should use kepler SR2 with support plugin, or change to Eclipse Luna.


    Updated link 16/09/2016: https://wiki.eclipse.org/JDT/Eclipse_Java_8_Support_For_Kepler

提交回复
热议问题