Maven: The Maven Integration requires that Eclipse be running in a JDK
上一篇 /
下一篇 2009-05-14 15:23:27
/ 个人分类:Maven
The fully error message that you might get is as follows:
7Z|L%VU j^y AI0The Maven Integration requires that Eclipse be running in a JDK, because a
"X1Q4P
O+F/xT0number of Maven core plugins are using jars from the JDK.
9M.D:r(W{c8Tl2s0
;V&K&[ SL(}^k0Please make sure the -vm option in eclipse.ini is pointing to a JDK and verify51Testing软件测试网6c3ynfk)F[8PP
that Installed JREs are also using JDK installs.51Testing软件测试网w DF XX
To solve this problem add a new option into your eclipse.ini (which is located in your Eclipse installation folder):
xt&{:q/vF Hp Y?0-vm C:\Program Files\Java\jdk1.6.0_06\bin\javaw.exe
U5TC|*Z5o*x
W|a9_0
It is important to have this line on the correct location, otherwise Eclipse will have no clue about this setting:
7U#n:PE:y\4S0-showsplash
swO IdmU'u0org.eclipse.platform
[y:wY}].BP([d0--launcher.XXMaxPermSize51Testing软件测试网ID7mM$U
256M51Testing软件测试网5HVGZ.i(G`5V
-vm51Testing软件测试网!A)`$A!}uT
A#O
B)i
C:\Program Files\Java\jdk1.6.0_06\bin\javaw.exe
6El"z/t.~-eE$Y0-vmargs51Testing软件测试网3_6`QD*K$aJ|
-Dosgi.requiredJavaVersion=1.5
nE^
~N0-Xms40m
:vf0p3wS-jk5d0-Xmx512m51Testing软件测试网oA:g4G1Udg7K$a c
It has to be before the -vmargs argument.51Testing软件测试网8T1N2w ^1k&S8F
yN:TW
收藏
举报
TAG: