I have some Java code that was written using Eclipse and the Java 6 SDK, so methods that implement an interface are annotated with @Override
- an annotation that is legal in Java 6, but not in Java 5.
I'd like to compile the same code using the Java 5 SDK (javac
on Mac OS X 10.5). Everything compiles and runs fine except for the @Override
annotations. Is there any way I can get javac to ignore the @Override
annotations for this project, or is the only solution to remove them all?