Reputation: 229
The following warning i am getting after running my java project in eclipse.
**Description Resource Path Location Type Build path specifies execution environment CDC-1.1/Foundation-1.1. There are no JREs installed in the work space that are strictly compatible with this environment**.
Upvotes: 19
Views: 57675
Reputation: 135
In my case, I just edited the java version of pom.xml and it worked fine
Before:
<properties>
<java.version>1.8</java.version>
</properties>
After:
<properties>
<java.version>11</java.version>
</properties>
Upvotes: 1
Reputation: 111162
Open the Properties for the project and select Java Build Path
, look at the Libraries
tab.
Select the JRE System Library
entry and click the Edit...
button. Choose a more sensible Execution environment or JRE from the list in the Edit Library dialog.
Upvotes: 22