I am using Android Bundle/Eclipse Juno under Oracle JDK 8 as the default Java on my Fedora 21 KDE box. There is no Java compiler compliance level 1.8 in settings. When I opened the Eclipse compiler compliance level was set to 1.4 and it goes up to 1.8. Is there something wrong here?
Asked
Active
Viewed 5,017 times
2 Answers
5
Eclipse juno doesn't magically gain Java 1.8 compiler support because you install Java 8. Juno was released in June 2012 while Java 8 was released March 2014. The first version of eclipse with Java 8 support was Kepler (through an after-release JDT update); Luna supports Java 8 out of the box.

Elliott Frisch
- 198,278
- 20
- 158
- 249
2
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 up to Java 7, and even then the support is not complete.
Reference:
-
Thanks I am not looking into using Java 8 for Android. Eclipse provided through official or distro channels often tend to include a lot of things that as a beginner I may not need. It is not a big issue but nonetheless using official tool chain is preferred. And that is why i am using archaic version of Eclipse. Fedora 21 dropped the support for Java 7 because it would EOL before Fedora 21 goes EOL. So I end up with a Java 8 and Eclipse Juno install. – Sudhir Singh Khanger Dec 05 '14 at 16:04
-
I'm not convinced by your reasoning. A lot of the "things that a developer doesn't need" are actually pretty much essential ... and stuff that a beginner **ought to be learning**; e.g. version control, build tools. But be that as it may, if you want to stick with an archaic version of Eclipse, you won't be able to develop Java 8 code using the IDE. – Stephen C Dec 06 '14 at 02:58
-
I hope you do understand that learning takes time and you tackle one problem at a time. My knowledge of Java expands to one online class and one book. I have learned basics of version control, build tools, etc. by picking up articles here and there. I need to get my basics of Java solid before I go on learning tools and things that revolves around programming. – Sudhir Singh Khanger Dec 06 '14 at 04:11