When using the Maven plugin for Eclipse if you get the following
message :
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.
分享到:
相关推荐
对于eclipse无法在线安装maven插件的解决办法。首先windows配置maven环境,然后在eclipse离线安装maven插件。具体方法可以在我的博客中看到
教你如何给eclipse安装maven插件,废话不多说,有图有真相
插件安装时,我们只需在eclipse根目录下新建一个【links】目录,然后在里面创建【.link】扩展名的文件,在里面写上类似于【path=F:\\IDE\\eclipsePlugin\\maven2】这样的配置信息,不就可以统一管理我们自己的插件了...
maven及eclipse插件下载和详细环境搭建步骤
maven3.2.2 eclipse插件 离线包 使用eclipse联网安装插件失败的可以下载该离线包,解压后合并同名文件夹的内容,然后重启eclipse即可。
Maven在eclipse中的项目启动命令
Eclipse中Maven插件Eclipse中Maven插件Eclipse中Maven插件Eclipse中Maven插件
eclipse安装maven插件,包含安装步骤。eclipse安装maven插件,包含安装步骤。
可是在网上又找不到对应的m2e包(我用的eclipse4.7),于是我决定将站点下的文件(很多)用爬虫爬下来,打包成离线插件包,再通过网上提供的多种离线安装插件的方法,我终于能自由的安装eclipse的maven插件了。...
path = C:\\Jared\\WeChat\\soft\\eclipse-jee-indigo-SR2-win32-x86_64\\eclipse\\mavenPlugin,这里填写自己eclipse安装目录地址,你把它换成你的,这个参数的意思就是告诉eclipse插件包的地址,启动的时候自动...
Eclipse安装Maven插件
此文件包含了maven的安装文件和集成eclipse的插件; 使用方法如下: 1、将maven 文件拷贝至C:\maven下,配置环境变量M2_HOME=C:\maven 2、将M2_HOME加在path路径后,测试安装是否成功打开doc ;cmd;输入mvn -v 没报错...
Eclipse离线安装Maven插件
maven安装详细步骤,包括以下常用错误的解释。同时提供eclipse下安装maven插件的方法
maven及eclipse插件下载和使用.zip maven及eclipse插件下载和使用.zip maven及eclipse插件下载和使用.zip
离线安装maven eclipse插件 1、在eclipse目录下的dropins目录下新建一个maven.link文件,文件名不受限制 2、在maven.link文件中指向maven插件:path=../myplugin/maven3 3、从新启动eclipse,window->首选项,找到...
压缩包里有maven的安装以及eclipse安装maven插件的资料,压缩包里有maven的安装以及eclipse安装maven插件的资料
maven-eclipse插件
Eclipse 安装maven的几种方式,以文档记录
此文档为 Maven3 eclipse 插件 包含 pom editer