`
a1129963143
  • 浏览: 9592 次
  • 性别: Icon_minigender_1
  • 来自: 重庆
社区版块
存档分类
最新评论

maven integration for eclipse jdk warning

    博客分类:
  • java
阅读更多
在Eclipse中安装m2eclipse插件后,启动Eclipse出现警告。

警告的标题是:
  maven integration for eclipse jdk warning;


我的解决办法是在Eclipse程序文件(安装文件)处有一个eclipse.ini文件,打开后如下

引用

    -startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807
-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
-Dhelp.lucene.tokenizer=standard
-Xms40m
-Xmx512m



修改后如下

引用

  -startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120913-144807
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
256M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
--launcher.defaultAction
openFile
-vm
D:\File\java\jdk17017\bin
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms40m
-Xmx512m



主要是在其中添加了两句:
引用

   -vm
D:\File\java\jdk17017\bin


这两句必须在-vmargs前面,否则无效。
分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics