解决安装 maven for eclipse插件后,eclipse启动时警告
2010-06-12 17:22
537 查看
在eclipse中安装了m2eclipse(maven插件)
在安装后,出现下列警告:
*************************************
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 JRE’s are also using JDK installs.
**************************************
看网上的解决办法如下:
(1)set your JDK as a default Java environment in eclipse
(default installed JRE)
Open eclipse. Click on ‘Window’ -> ‘Preferences’ -> ‘Java’
-> ‘Installed JREs’.
If you can’t find any JDK on the list -> click ‘Add’ ->
‘Standard VM’ -> set all paths and click ‘Finish’.
After that – check this JDK on the list of installed JREs and click
‘OK’.
(2)add path to your SDK in eclipse.ini
open ‘eclipse.ini’ and add there: -vm
path_to_javaw_on_your_machine,so in my example it will be (jdk1.6.0_17
on Windows):
-vm
C:/Progra~1/Java/jdk1.6.0_17/jre/bin/javaw
Notice 1: Do not use paths with spaces!
Replace all
dir names with spaces to their shortcuts. For example: ‘Program Files’
is ‘Progra~1′.
Notice 2: ‘-vm’ is in the first line, path is
in the second line
My full ‘eclipse.ini’ looks like this:
-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vm
C:/Progra~1/Java/jdk1.6.0_17/jre/bin/javaw
-vmargs
-Xms40m
-Xmx256m
%%%%%%%%%%%%%%%%%%%%%%%%
可是我按照步骤执行下来,重启MyEclipse还是一如既往的出项上述警告,哪位高手知道是什么原因,望不吝赐教!O(∩_∩)O谢谢!
在安装后,出现下列警告:
*************************************
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 JRE’s are also using JDK installs.
**************************************
看网上的解决办法如下:
(1)set your JDK as a default Java environment in eclipse
(default installed JRE)
Open eclipse. Click on ‘Window’ -> ‘Preferences’ -> ‘Java’
-> ‘Installed JREs’.
If you can’t find any JDK on the list -> click ‘Add’ ->
‘Standard VM’ -> set all paths and click ‘Finish’.
After that – check this JDK on the list of installed JREs and click
‘OK’.
(2)add path to your SDK in eclipse.ini
open ‘eclipse.ini’ and add there: -vm
path_to_javaw_on_your_machine,so in my example it will be (jdk1.6.0_17
on Windows):
-vm
C:/Progra~1/Java/jdk1.6.0_17/jre/bin/javaw
Notice 1: Do not use paths with spaces!
Replace all
dir names with spaces to their shortcuts. For example: ‘Program Files’
is ‘Progra~1′.
Notice 2: ‘-vm’ is in the first line, path is
in the second line
My full ‘eclipse.ini’ looks like this:
-startup
plugins/org.eclipse.equinox.launcher_1.0.201.R35x_v20090715.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.0.200.v20090519
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
256m
-vm
C:/Progra~1/Java/jdk1.6.0_17/jre/bin/javaw
-vmargs
-Xms40m
-Xmx256m
%%%%%%%%%%%%%%%%%%%%%%%%
可是我按照步骤执行下来,重启MyEclipse还是一如既往的出项上述警告,哪位高手知道是什么原因,望不吝赐教!O(∩_∩)O谢谢!
相关文章推荐
- 解决安装 maven for eclipse插件后,eclipse启动时警告
- 解决安装 maven for eclipse插件后,eclipse启动时警告
- 解决eclipse安装maven插件后启动出现警告的问题
- m2e:eclipse安装maven插件后启动eclipse报告的警告
- Eclipse安装Maven插件后,Eclipse启动问题:Maven Integration for Eclipse JDK Warning。
- eclipse3.7安装maven插件失败问题解决
- 1.Maven+SpringMVC+Eclipse软件安装配置,Maven报插件错误,Eclipse总是卡死的解决办法,导入一个maven工程后 一直显示importing maven project
- Eclipse安装Maven插件报错解决办法
- Eclipse安装Maven插件Maven Integration for Eclipse
- eclipse安装maven插件开发WEB项目,解决错误:Failure to transfer org.apache.maven.plugins:maven-resources-plugin:pom
- Maven+SpringMVC+Eclipse软件安装配置,Maven报插件异常,Eclipse总是卡死的解决方法,导入一个maven工程后 一直显示importing maven project
- eclipse 3.6.1 安装maven插件失败的解决办法
- 安装Oracle JDK 7.0与8.0 for Mac OS X后Eclipse启动报错的解决之道
- eclipse安装maven插件,解决pom.xml没有Maven Pom editor打开方式的问题
- eclipse 3.6.1 安装maven插件失败的解决办法
- eclipse安装maven插件-解决requires ‘bundle org.slf4j.api 1.6.2′
- Eclipse安装Maven插件Maven Integration for Eclipse
- 解决eclipse安装maven的问题:Unable to update index for central|http://repo1.maven.org/maven2
- eclipse安装maven插件及从svn检出项目时没有check out as maven project选项解决方法
- eclipse 安装完Maven插件之后启动时候弹出错误:'Updating indexes' has encountered a problem.