安装后打开 eclipse 很可能会弹出对话框出现警告信息
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_home\eclipse.ini,在 -vmargs 参数前加入 -vm 参数,
该参数后一定换行,后面指定本地安装的 jdk
-vm
D:\Java\jdk1.5\bin\javaw.exe