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.
分享到:
相关推荐
maven2的eclipse插件 for eclipse 3.5+。 插件安装时,我们只需在eclipse根目录下新建一个【links】目录,然后在里面创建【.link】扩展名的文件,在里面写上类似于【path=F:\\IDE\\eclipsePlugin\\maven2】这样的...
maven2的包maven的容器可以作为客户端
Maven 2 Eclipse Plugin
maven2之m2eclipse使用手册.doc
Maven2构建.doc Maven2构建.doc Maven2构建.doc
maven2完全使用手册 全面介绍maven2 使用及配置 docx格式
支持maven2 maven3 通用版本eclipse插件,在maven官网下载apache-maven-3.2.1-bin.zip,解压插件压缩包到path=D:\m2e-0.12.0.20101115-1102 在eclipse新建links文件夹,新建文件maven23.link,内容为:path=D:/m2e-...
maven2详细教程
使用Maven搭建S2SH工程详解一:使用Maven创建struts2工程
maven2 jar包 maven2 jar包 maven2 jar包 maven2 jar包 maven2 jar包 maven2 jar包 maven2 jar包 maven2 jar包 maven2 jar包 maven2 jar包 maven2 jar包 maven2 jar包
m2maven插件 Installing m2eclipse Core To install m2eclipse, use the following Eclipse update site to install the core of the m2eclipse plugin. This Core update site contains a single component: "Maven...
《Maven2使用项目开发规范说明》,图文并茂,详细介绍了使用 Maven2 开发一个规范项目的流程。 目录: 1. 环境配置 3 1.1. 配置Maven2 3 1.2. 配置Eclipse环境变量MIA_LIB 4 1.3. 安装Maven2 的eclipse plugin 4 2. ...
maven2详细教程.doc
maven2的插件,用于在eclipse下进行maven2的快速配置 打开eclipse .选择菜单 window ->preferences ; 在新打开的对话框的左边的一列会看到一个名为Maven2的选项。鼠标单击,然后点击右边的Local Repository Folder ...
本文主要阐述 Maven2 的新特性,这些新特性可以大大地缩短了开发管理中的工作量,使得开发人员将精力集中在实际的业务问题上。 Maven 出现到现在也有很长时间了,初识它的感觉至今仍清晰的印在脑海中。现在想来,...
1: 通过配置MAVEN_HOME 和 %% %MAVEN_HOME%\bin 然后进行mvn -version 测试 掌握 -Xms 与 -Xmx的相关配置 2: Maven目录分析: 2.1: bin: 含有mvn运行的脚本 2.2: boot:含有plexus-classworlds类加载器框架 ...
Maven是基于项目对象模型(POM),可以通过一小段描述信息来管理项目的构建,报告和文档...当前最新版本是3.0.2,本人英语不好,网上找了半天maven3的资料都没找到中文的,倒是找到一个maven2的使用指南。现分享给大家!
maven环境搭建.m2工具,maven环境搭建.m2工具maven环境搭建.m2工具maven环境搭建.m2工具maven环境搭建.m2工具
Maven2+Eclipse开发J2EE.pdf Maven2_基础教程.pdf maven2之m2eclipse使用手册.doc Maven2使用.ppt maven2完全使用手册.docx Maven_介绍培训.pptx Maven学习指南.pdf Maven实战.doc Maven实战.pdf Maven构建并管理...
Maven2使用全攻略,包含了maven常用的各个标签讲解,十分有用!