Danny Lo
Danny Lo

Reputation: 1583

Eclipse Kepler SR2 + Java 8

According to this article It seems to be easy to add Java 8 feature to Eclipse. Somehow it doesn't work for me because I can't use the new syntax and I can't choose enviroment version 1.8 although JDK1.8 is installed and picked in eclipse' settings. There are no errors while installing feature or restarting eclipse.

Platform: Win7 x64

Eclipse version: Kepler SR2 Build 20140224-0627

Any Ideas?

Upvotes: 3

Views: 3139

Answers (1)

Honza Zidek
Honza Zidek

Reputation: 20455

I have created some kind of a graphical tutorial.

Add Java 8 to Eclipse

enter image description here

Before the next step, if you still do not have JDK1.8.0 installed, go to Add... button and add your Java 8 JDK to your Eclipse. You may ommit the step of changing the Javadoc location if you have not downloaded it to your local disk, it is just for faster access to Javadoc.

Add Java 8 SDK to Installed JREs

  • Eclipse | Window | Preferences

enter image description here

Add Java 8 Support to your Project

  • Eclipse | Project | Properties

enter image description here

Upvotes: 6

Related Questions