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.

adarshr
  • 61,315
  • 23
  • 138
  • 167
Ajai Gopal
  • 189
  • 4
  • 12

4 Answers4

11

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

Pramod Kumar
  • 7,914
  • 5
  • 28
  • 37
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.

Ajai Gopal
  • 189
  • 4
  • 12
-1

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

Chandana
  • 2,578
  • 8
  • 38
  • 55
  • 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. – adarshr Jun 01 '12 at 09:02
  • Yes, I think there no tool for update every project in to JDK 1.7 by one click. – Chandana Jun 01 '12 at 09:04
-1

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

BOSS
  • 2,931
  • 8
  • 28
  • 53
  • Can you please detail the steps that you are referring to. – Ajai Gopal Jun 01 '12 at 10:14
  • 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. – Ajai Gopal Jun 02 '12 at 15:46