首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > JAVA > Eclipse开发 >

myeclipse装配maven插件后报错

2012-07-15 
myeclipse安装maven插件后报错The Maven Integration requires that Eclipse be running in a JDK, becaus

myeclipse安装maven插件后报错
The Maven Integration requires that Eclipse be running in a JDK, because a number of Maven core plugins are using jars from the JDk.

Please make sure the -vm option in eclipse.ini is pointing to a JDK and verify that
Installed JRE's are also using JDK installs.


解决办法
在修改eclipse.ini 里添加-vm 参数无用,在桌面myeclipse 快捷方式加上 -vm D:\Java\jdk1.6.0_10\bin\javaw后解决。

"D:\Program Files\MyEclipse 6.0\eclipse\eclipse.exe" -vm "d:\Program Files\MyEclipse 6.0\jre\bin\javaw.exe" -vm D:\Java\jdk1.6.0_10\bin\javaw




热点排行