Eclipse Updating the compiler compliance to 1.7

后端 未结 4 1996
广开言路
广开言路 2021-02-15 12:52

I am having some trouble updating the compiler compliance of my eclipse workspace (I am actually using RTC, but it is essentially eclipse). Currently, it uses a jdk of 1.6 so I

4条回答
  •  面向向阳花
    2021-02-15 13:30

    The Compiler compliance level is Version Dependent in eclipse. If you are using Eclipse 3.7 or lower then you won't get 1.7 compliance. Use Eclipse JUNO or higher.

    For more on JDT Core 7 and its release related information

    UPDATE:

    Even eclipse 3.7.1 version supports Java 7 features and compliance level.

提交回复
热议问题