Open the Properties for the project and select Java Build Path , go to the Libraries tab. Select the JRE System Library entry and click the Edit... button. Select the smarter Execution or JRE from the list in the Edit Library dialog box.
source share