Search code examples
java-8eclipse-mars

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


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


Solution

  • I had the same problem. Probably it was because I originally installed Eclipse Kepler (which doesn't support java 1.8. compiler) and then updated it to Luna first and then to Mars. I had to completely uninstall Eclipse and reinstall newest version.