I know that there is a plug-in Java 9 Support for Oxygen but does anyone know when will Eclipse support Java 9 natively? I looked on project website and blog (planet eclipse) but can't find any information.
Support for JDK 9 and JUnit 5 will come with Eclipse Oxygen.1a, October 11, 2017.
See also the announcement on the Eclipse [cross-project-issues-dev] mailing list.
Update: The above mentioned version is released (see my video that shows the built-in Java 9 and JUnit 5 support of the Eclipse Java IDE Oxygen.1a).
If you update Eclipse Oxygen with Java 9 BETA Support for Oxygen, uninstall Java 9 BETA manually (see Eclipse bug 526065).
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?
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.
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
Early access builds of Eclipse with Java 8 support are available. Installation instruction can be found here.
Wayne Beaton (Director of Open Source Projects at the Eclipse Foundation) just published (February 2014) an article on "Building and Running Java 8 Support" (with Eclipse Luna 4.4Mx).
It includes:
Getting the sources of JDK8
Downloading the latest milestone of the Eclipse SDK (4.4Mx)
Configuring the “vm” option in the eclipse.ini file to use the Java 8 JRE included with the downloaded JDK.
Adding Egit
Clone the BETA_JAVA8 branch of the Git repo JDT Core, JDT UI and JDT Debug repos.
Using the handy “Import all projects” feature to automatically pull all the code into my workspace.
Setting various JRE 1.4, 5 and 6.
Putting the right mapping for those JRE in the execution environment.
For Eclipse Kepler 4.3+, leeor mentions in the comments:
As of Feb 21st, you can install the beta 8 JDT via "install new software..." in Eclipse (I use Kepler) here: JDT/Eclipse Java 8 Support (BETA)
http://build.eclipse.org/eclipse/builds/4P/siteDir/updates/4.3-P-builds
Java8 support for Eclipse Kepler SR2 has been removed from eclipse marketplace. You can access the archive here. Download the zipped repo and install it as a local archive update site.
URL : http://download.eclipse.org/eclipse/updates/4.3-P-builds/
Add it like the screenshot
I am assuming that you have installed Java 8, JRE 8 and configured them (setting class paths etc.).
Follow the steps.
Go to Help->Eclipse market place
In the search box type "java 8 kepler"
The first link that appears is Java 8 support for Kepler SR2
select it and install it.
It will take a few minutes.
You may need to restart Eclipse after completion.
The problem is that the version of Kepler your using might not have the support for Java8. You can either install the Java8 Patch from market place if your using SR2 version
or
You can directly download Eclipse Kepler SR2 from here, which comes with default support for Java8
what version of the Eclipse RCP we need to upgrade to along with Java 8?
Eclipse Luna (4.4) is the first to fully support Java 8. This is the current version available from the Eclipse site
I'd like to know if install4j is jdk 8 compatible or tested against or will be :)
Just found 1.7 Version to be tested on there site.
And if not what is the roadmap for next release supporting that?
Thx
Inge
Install4j installers work with Java 8. The install4j currently (as of 5.1.6) requires Java 6 or Java 7.
From their blog Migrating to install4j 6:
The minimum Java version for the install4j IDE and the compiler is now Java 7. If your build machine only has Java 6 installed, you have to install a Java 7 JRE. On Windows and Mac OS X, Java 7 JREs are bundled in the install4j downloads.
Therefore, I suppose install4j IDE version 6 supports also Java 8, because they did not specify maximal Java version.
I've installed JDK7 java version and selected version 7 as the JVM in Eclipse. The version of compiler remains being 1.6 and it doesn't shows a greater version.
Is it correct?
Thanks
Current version of Eclipse (3.7) does not support compiling Java 7 sources yet. The support is coming in 3.7.1 update soon. You can run your application with Java 7 JRE, but there is no support for compilation at the moment.