当前位置: 代码迷 >> Eclipse >> myeclipse装配maven插件后报错
  详细解决方案

myeclipse装配maven插件后报错

热度:25   发布时间:2016-04-23 13:08:42.0
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




  相关解决方案