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