Java – Eclipse IDE – Error: Build path specifies execution environment Java SE 1.7

eclipseerror handlingjava

In Eclipse, I am getting an error:

Build path specifies execution environment Java SE 1.7.
There are no JREs installed in the workspace that are strictly compatible with this environment.

Best Answer

Try this

 In Eclipse,
your project
-> properties
-> java build path : Libraries
Remove the "JRE System Library[J2SE 1.4]"
-> click "Add Library" button -> JRE System Library
-> select the new "Executin Environment" or Workspace default JRE