警告:Maven集成需要Eclipse在JDK中运行

时间:2014-03-05 12:23:59

标签: eclipse maven

尝试导入项目时,我面临警告消息,如屏幕截图所示。

enter image description here

以下是我的eclipse.ini的样子。

-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.R36x_v20100810
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Xms768m
-Xmx1024m
-vm
C:\Program Files (x86)\Java\jdk1.6.0_21\bin\javaw.exe

1 个答案:

答案 0 :(得分:0)

将路径更改为javaw.exe以使用正斜杠:

C:/Program Files (x86)/Java/jdk1.6.0_21/bin/javaw.exe
相关问题