Question: must override a superclass method java 1.8?
Answer:  Select Project, Right-click, Properties.,  Select Java Compiler and check the checkbox "Enable project specific settings",  Now make Compiler compliance level to 1.6.,  Apply changes.