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

前端 未结 11 1595
无人及你
无人及你 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:37

    First install the JDK1.8 set to Path Open Eclipse and Oper Eclipse Market Place option. Search for jdk 1.8 for kepler Install the required plugin. Restart the eclipse. Change compiler level to 1.8 from preferences. If still there is an error then click on the file and change the compiler setting explicitly to Jdk 1.8

提交回复
热议问题