1

I installed JDK 1.8. When I look at Preferences > Java > Installed JREs, the only thing on the list is jdk1.8.0_60.

But when I look at Preferences > Java > Installed JREs > Execution Environments, I don't see anything above JavaSE-1.7. None of my projects can use JDK 1.8.

I've tried Googling for an answer to this, but all I get are pages that talk about how to install JDK 1.8. I've also tried reinstalling JDK 1.8 and Eclipse and that didn't work. I have no idea what could possibly be wrong.

1 Answers1

1

I finally found the answer here: Programming Java 8 in Eclipse

"I just went to the Eclipse Marketplace from inside of Eclipse (Help/Eclipse Marketplace...) and installed the "Java 8 support for Eclipse Kepler SR2""

Community
  • 1
  • 1
  • This is rather old, you would do better to move to the current version of Eclipse (Eclipse Mars) which has improved Java 8 support. – greg-449 Oct 21 '15 at 06:51