浏览 2443 次
锁定老帖子 主题:maven2有关的问题
精华帖 (0) :: 良好帖 (0) :: 新手帖 (0) :: 隐藏帖 (0)
|
|
---|---|
作者 | 正文 |
发表时间:2008-12-25
最后修改:2009-03-12
引用 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 JREs are also using JDK installs. To solve this problem add a new option into your eclipse.ini (which is located in your Eclipse installation folder): -vm C:\Program Files\Java\jdk1.6.0_06\bin\javaw.exe It is important to have this line on the correct location, otherwise Eclipse will have no clue about this setting: -showsplashorg.eclipse.platform --launcher.XXMaxPermSize256M -vm C:\Program Files\Java\jdk1.6.0_06\bin\javaw.exe -vmargs-Dosgi.requiredJavaVersion=1.5-Xms40m-Xmx512m It has to be before the -vmargs argument. 声明:ITeye文章版权属于作者,受法律保护。没有作者书面许可不得转载。
推荐链接
|
|
返回顶楼 | |
发表时间:2008-12-25
还用maven,不是早就maven2了吗?
|
|
返回顶楼 | |