Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

No JREs installed in the work space that are strictly compatible with this environment

Tags:

java

eclipse

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**. 
like image 494
user3539822 Avatar asked Apr 17 '14 14:04

user3539822


People also ask

How do I run Java 11 in Eclipse?

A Java 11 JRE is recognized by Eclipse for launching. It can be added from the Window > Preferences > Java > Installed JREs > Add... page. It can also be added from the Package Explorer using the project's context menu.

Where is JRE system library located?

In 'Java Build Path'->'Libraries' tab, you will see the 'JRE System Library' displayed as shown below. Once you will expand the JRE system library folder, you will find the .


1 Answers

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.

like image 118
greg-449 Avatar answered Sep 22 '22 08:09

greg-449