1

In Ubuntu, after installation of Openjdk 8, I applied the necessary changes in my Eclipse 3.8.1:

In preferences -> Java -> installed JREs, adding the related VM;

In Project -> Properties -> Java build path, updating JRE system library;

But, yet, in preferences -> Java -> compiler, I cannot see any compiler version more than 1.8.

What is the problem?

hossayni
  • 465
  • 1
  • 3
  • 16

1 Answers1

0

Eclipse support for Java 8 was from Kepler (4.3). You may need to move newer version of eclipse than your current version(3.8).

(update from Elliott Frisch )

Luna is the version after Kepler, and supports java 8 out of the box. See https://wiki.eclipse.org/JDT_Core/Java8

Community
  • 1
  • 1
Jayan
  • 18,003
  • 15
  • 89
  • 143
  • I suppose that, also, Luna supports 8 as I see in http://www.eclipse.org/downloads/ – hossayni Jan 02 '15 at 07:49
  • 1
    Luna is the version after Kepler, and supports java 8 out of the box. I believe you have to add support for java 8 as an optional update for Kepler. Earlier versions of eclipse don't support java 8. – Elliott Frisch Jan 02 '15 at 08:02
  • Thanks @Elliott Frisch . I included it in the answer. The duplicated question has much more info anyway) – Jayan Jan 02 '15 at 09:23