简体   繁体   中英

How to add jdk8 in Eclipse Indigo

I just read How to have Eclipse use JDK8 to compile a project?

What i added jdk8 to eclipse as, 在此处输入图片说明

From the answers of How to have Eclipse use JDK8 to compile a project?

I tried to Update the JDT/Core, JDT/UI bundles from http://dist.springsource.com/snapshot/TOOLS/java8/e43

But it shows error as,

"Eclipse Java Development Tools Patch for Java 8 Support (BETA)" is not applicable to the current configuration and will not be installed.
"Eclipse Plug-in Development Environment Patch for Java 8 Support (BETA)" is not applicable to the current configuration and will not be installed.

在此处输入图片说明

How Can i fix it ?

I can say that Java 1.8 does in fact work with Eclipse Luna ( the beta version released around March 17, 2014) or later. I tried it and it was good.

Also, I noticed that in the Eclipse Marketplace, there are now plugins to install functionality into Kepler to support JDK1.8. I haven't tried the plugin myself though.

This is a old topic but I just wanted to point out that I have searched enough to find that Indigo version can't be updated to SE 1.8 here the link which is given on eclipse website to update the Execution Environment but if you try it will throw error for Indigo.

Here is the link where the Information about execution environment is given.

This shows the step by step to update Execution environment.

I have tried to update Execution environment and I got the same error.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM