Eclipse 3.5 and Java 7
Asked Answered
M

4

6

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.

Medievalist answered 1/6, 2012 at 8:57 Comment(0)
M
0

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.

Medievalist answered 4/6, 2012 at 7:54 Comment(0)
H
11

Old eclipse version doesn't support java 7. You will have to download at least eclipse-3.8M1 version.

Hangbird answered 1/6, 2012 at 9:24 Comment(1)
You don't need to use a milestone build. Java 7 support is available for Eclipse 3.7.1 or higher.Phocine
M
0

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.

Medievalist answered 4/6, 2012 at 7:54 Comment(0)
D
-1

Windows --> Preferences --> Java --> Installed JRE --> Add --> Standard VM --> Then Select the JDK 7 and set it as default.

Deem answered 1/6, 2012 at 9:0 Comment(2)
I don't think just that would suffice. You'll also have to verify that Window > Preferences > Java > Compiler has a compliance level of 1.7 set for all projects.Underclassman
Yes, I think there no tool for update every project in to JDK 1.7 by one click.Deem
B
-1

enter image description here PLease check the image to change the setting make it your default under the Compiler setting.

Bet answered 1/6, 2012 at 9:6 Comment(2)
Can you please detail the steps that you are referring to.Medievalist
This will make the JRE setting to Java 7.But if you go to Compiler --> JDK Compliance --> Compliance level can only be set up to 1.6. But is there a way to set it to 1.7.Medievalist

© 2022 - 2024 — McMap. All rights reserved.