On Eclipse Mars, I can't see 1.8 in the compiler compliance level menu

Clemzd picture Clemzd · Jun 30, 2015 · Viewed 12k times · Source

I'm using Eclipse Mars and I can't see 1.8 in the compiler compliance level menu.

enter image description here

Prehaps, it is because I used this option to import all my plugins from my Eclipse Kepler installation. Maybe it also import preferences that causes this problem. enter image description here

I added the jdk 1.8 in the Installed JREs. I tried to delete the .preferences folder and restart my eclipse but I still have the problem.

Any ideas?

EDIT : I tried to check for updates but no updates were found

Answer

the8472 picture the8472 · Jun 30, 2015

You need to select the appropriate java version in the project's/ build path first

jdk selection

If you want to apply it globally you not only have to add a 1.8 JRE but also select it as default.