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

前端 未结 8 1256

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

    Go to Project|Properties Choose the Java Build Path section Select the current JRE System Library, and choose Remove Select Add Library, and under the JRE System Library category pick your system library; you probably just need to choose the Workspace default JRE

    More generally, under Window|Preferences, you can check Java|Installed JREs|Execution Environments to know which of the installed JREs match a specific execution environment.

提交回复
热议问题