Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Eclipse Kepler Java 8

Tags:

eclipse

java-8

I want to start using Java 8 with Eclipse but I don't know how to install it - I can't find any tutorials on it. I am using Eclipse Kepler and have added a JRE for JDK 8 to the IDE but it won't let me continue to create the project because of a compliance problem with the JRE versions. How can I use Java 8 with the Eclipse Kepler IDE?

like image 674
Liam Potter Avatar asked Jul 12 '13 16:07

Liam Potter


People also ask

Does Eclipse work with JDK 8?

A Java 8 or newer JRE/JDK is required to run all Eclipse 2019-09 packages based on Eclipse 4.13, as well as the Installer.

Is Java 1.8 the same as Java 8?

javac -source 1.8 (is an alias for javac -source 8 ) java.

Which version of Eclipse is best for Java?

If you are using Eclipse for only Enterprise Development, then as everybody has recommended I would use the Eclipse Java EE version. If you plan on occasionally using it for other development purposes then I would consider downloading a separate classic version as well.


2 Answers

Have a look at this bug report from time to time for progress on Java 8 in Eclipse's JDT.

EDIT: For Kepler you need SR2 (4.3.2) and the Java 8 feature patch. Starting with I20140318-0830 all Luna (4.4) builds contain support for Java 8 "out-of-the-box". The final version of Eclipse Luna (4.4) will be released at the end of June 2014.

like image 151
winne2 Avatar answered Sep 21 '22 19:09

winne2


Now, after Java 8 is released, there is a feature patch, but only for Kepler SR2 (4.3.2). Installation via

Help > Install New Software... > 'Work with': http://download.eclipse.org/eclipse/updates/4.3-P-builds/

see Tutorial Installing Java 8 on Eclipse Kepler

like image 33
bigdev.de Avatar answered Sep 23 '22 19:09

bigdev.de