Java 1.8 compiler compliance level missing when running Android Bundle / Eclipse Juno under Oracle JDK 8

I am using Android Bundle / Eclipse Juno under Oracle JDK 8 as default Java in my KDE Fedora 21 box. There is no Java 1.8 compiler compliance level in the settings. When I opened the Eclipse compiler compliance level it was set to 1.4 and it went up to 1.8. Is there something wrong here?

+3


source to share


2 answers


Eclipse juno does not magically support the Java 1.8 compiler because you are installing Java 8. Juno was released in June 2012, while Java 8 was released in March 2014 . The first version of eclipse with Java 8 support was Kepler (via post-release JDT update); Luna supports Java 8 out of the box.



+5


source


In addition to what Elliot wrote in his answer , you won't be able to run Java 8 code on Android. Android platforms only support linguistic features prior to Java 7, and even then, support is pending.

Link:



+2


source







All Articles