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 fromhttp://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.

posted @ 2017-06-15 11:20  疯子110  阅读(475)  评论(0编辑  收藏  举报