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

前端 未结 8 1263

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 st

8条回答
  •  陌清茗
    陌清茗 (楼主)
    2021-02-04 02:24

    1. Open eclipse
    2. Right click on your project -> click "properties"
    3. Select "Java Build Path" and then choose Librarires
    4. Delete JRE System Library [jre1.._***]
    5. Click "Add Library" and then choose "JRE System Library"
    6. The best solution is to mark "Workspace default JRE (jre1.,_***)
    7. Refresh project and wait for Tomcat or any other additional server to restart and then should be no error for "Execution environment.."Where to do it!

提交回复
热议问题