2
  1. I installed openjdk8

  2. In Eclipse (v3.8.1) -> window -> preferences -> Java -> installed JREs, I added the related standard VM.

  3. In Eclipse -> Project -> Properties -> Java build path, I changed the JRE system library

    then, some of my project errors, related to Java 8 disappeared; but some others remained which, as I suppose, they are related to Compiler.

  4. In Eclipse -> window -> preferences -> Java -> Compiler, I cannot see any version more than 1.7!

So, where is my Java compiler 1.8?!

5
  • which version of eclipse you are using ?
    – A J
    Jan 2, 2015 at 4:42
  • it is Eclipse 3.8.1
    – hossayni
    Jan 2, 2015 at 4:46
  • try eclipse luna for Java 8
    – A J
    Jan 2, 2015 at 4:48
  • By this name, there is no suggested software in software center. But, mine is installed yesterday from software center and is completely up to date.
    – hossayni
    Jan 2, 2015 at 4:53
  • Ubuntu software center does not updated eclipse, you download eclipse linux version and install it.. i will put in answer..
    – A J
    Jan 2, 2015 at 4:55

1 Answer 1

1

Older version of Eclipse does not support Java 8.

Eclipse Kepler SR2 & Eclipse Luna are the versions will support Java 8.

You can download Eclipse Luna from this link.

And Eclipse Kepler SR2 also supports Java *, see this link.

See this link to know how to install Eclipse Luna.

0

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .