问题
Is there any way where I can increase the Java Compiler Compliance level of Eclipse 3.5 to 1.7. (i.e.) By adding a plugin/add-on. Since by default this will not support the JDK 1.7 compliance.
We have a constraint in Eclipse upgrade, since it's an RCP application.
Any thoughts on this will be greatly appreciated.
Thank You.
回答1:
Old eclipse version doesn't support java 7. You will have to download at least eclipse-3.8M1 version.
回答2:
To conclude, there is no way to enable Java 7 Compliance in Eclipse 3.5. Have to migrate to 3.7 at least. Thanks a lot for your responses.
回答3:
Windows --> Preferences --> Java --> Installed JRE --> Add --> Standard VM --> Then Select the JDK 7 and set it as default.
回答4:
PLease check the image to change the setting make it your default under the Compiler setting.
来源:https://stackoverflow.com/questions/10847294/eclipse-3-5-and-java-7