13

I am trying to install Java 8.

What I have done so far:

The error I get as soon as I create the project:

Unbound classpath container: 'JRE System Library [JavaSE-1.8]' in project 'JackTest' Build Path Problem

Any idea? Can someone tell me what to do step by step?

Jack
  • 743
  • 2
  • 10
  • 23
  • do you have multiple java versions installed? Also check Preferences > Java > Installed JREs. The 1.8 JRE should be selected n this page. – gmarintes Oct 14 '14 at 22:00
  • the only JRE installed at the moment is Java SE 6 1.6.0 – Jack Oct 14 '14 at 22:08
  • 2
    You need to install JDK 8. It will be better if you also uninstall old Java versions. – gmarintes Oct 14 '14 at 22:10
  • Does “I downloaded Java SE Runtime Environment 8” imply that you also *installed* it? Also, “the latest version of Eclipse” is `Eclipse Luna` which does not need the patches for `Eclipse Kepler`. It should work with Java 8 out-of-the-box. – Holger Oct 15 '14 at 07:43
  • Means that I installed it. And Eclipse Luna does not work out of the box, I even tried to uninstall it, re-download it and re-install it. Did not work. – Jack Oct 15 '14 at 09:35

1 Answers1

25

You can have many java versions in your system.

I think you should add the java 8 in yours JREs installed or edit.

Take a look my screen:

enter image description here

If you click in edit (check your java 8 path):

enter image description here

Gere
  • 2,114
  • 24
  • 24