I've installed JDK 8. I set my JAVA_HOME to the JDK 8 directory. I downloaded the latest Eclipse Luna. I checked for updates. I set my default (and only) Installed JRE to the JDK 8 directory.
I cannot set my project nor workspace compliance level to 1.8. I even tried manually editing the preferences file to 1.8 to no avail.
What am I doing wrong? Hopefully it's something simple.
PS My project builds with java 8 fine. I'm using gradle with source and target set to 1.8 and it builds and generates eclipse files, but still doesn't work.
解决方案
Luna will support Java 8 by default starting at Luna M7. For the time being you can install the Java 8 support patch for Kepler (either on Luna or Kepler).