鍍金池/ 問答/Java/ jdk1.8為什么會報import java.util.Map.Entry引入錯

jdk1.8為什么會報import java.util.Map.Entry引入錯誤呢?

為什么把jdk換成jdk1.7就沒有問題了呀?
我用的是myeclipse10,myeclipse10也是支持引入1.8的呀
圖片描述

回答
編輯回答
舊時光

http://blog.csdn.net/qq_17864...
異常原因:是因?yàn)閙yeclipse10不支持jdk1.8導(dǎo)致,換成最新的myeclipse或者eclipse,然后配置jdk1.8,問題得到解決。

2017年12月8日 03:59
編輯回答
深記你

According to this press release, MyEclipse 10 was released in 2011 and is based on Eclipse Indigo. That is too old to work with Java 8, so you need a more recent version.

It is also mentioned in the forum discussions that MyEclipse 2015 is the version that supports Java 8 out of the box , so you either need that one or you'd need to use custom update site to upgrade MyEclipse 2014. Since you have too old version already, you should probably go directly to 2015.

2017年10月19日 07:45