1

I'm trying to move to using the latest version of Eclipse (Juno 4.2) but I am getting errors a project where I have used @Override annotation. The same project does not throw any errors in Eclipse Indigo.

I have had similar problems in the past but I have overcome them by changing the JRE on the buildpath. The settings for the project seems identical to me in Indigo and Juno. How do I solve this?

enter image description here

...

enter image description here

The compiler settings are also identical

enter image description here

...

enter image description here

Laurel
  • 5,965
  • 14
  • 31
  • 57
Codey McCodeface
  • 2,988
  • 6
  • 30
  • 55

1 Answers1

3

I suspect there are different "JDK compliance" settings for the two projects.

See this question which explains how @Override changed between Java 1.5 and 1.6.

Community
  • 1
  • 1
ᴇʟᴇvᴀтᴇ
  • 12,285
  • 4
  • 43
  • 66