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:
^%r6V:Z
c_L0The Maven Integration requires that Eclipse be running in a JDK, because a
:J'Zek9HIm0number of Maven core plugins are using jars from the JDK.
6Hc6mA,O4Z2^K j6`0
Ad:h!S K']5?P$m0Please make sure the -vm option in eclipse.ini is pointing to a JDK and verify
\*?7HF/\j2|7? n0that Installed JREs are also using JDK installs.51Testing软件测试网ZT1}WYD
To solve this problem add a new option into your eclipse.ini (which is located in your Eclipse installation folder):
v&d#w.~y6`x0-vm C:\Program Files\Java\jdk1.6.0_06\bin\javaw.exe51Testing软件测试网0eL
j\x#A
It is important to have this line on the correct location, otherwise Eclipse will have no clue about this setting: