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

前端 未结 8 1261

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:26

    Go To Control Panel - check whether any new java version Updated -Uninstall it and Configure the Build Path JRE Library "Execution environment" to the Previous Version.

    Probably if Java 7 is updated to Java 8 the above problem will occur. To avoid that warning, just you can uninstall the new update and restore the old version in execution environment.

    0 讨论(0)
  • 2021-02-04 02:28

    Sounds like what I had after installing a newer Eclipse.

    My solution:

    Window->Preferences, Java->Installed JREs->Execution Environment.

    Click the correct environment in the left panel, probably JavaSE-jre7

    If the checkbox in the right panel is empty, check it.

    If it's checked, but it isn't named jre7 [perfect match] then find the one in the left panel that does have 'perfect match' on the right and check that instead.

    0 讨论(0)
提交回复
热议问题