Eclipse Update plug-in method (MAVEN)

Source: Internet
Author: User
Eclipse Update plug-in method (MAVEN)

Take maven for example:

The first is to go to MAVEN website to find the plugin download address:

M2eclipse Core Update site:http://m2eclipse.sonatype.org/sites/m2e

Then install the following diagram simple operation can be installed successfully:

First step: Choose to install new software:

2: Add Maven Address

3. Add plugin Name

Four Check Installation


Exceptions that appear after you install Maven:

Maven:the Maven integration requires that Eclipse is running in a JDK

Solution:

The fully error message so you might get are as follows:the Maven integration requires that Eclipse being running in a JDK, Because a
Number of Maven core plugins are using jars from the JDK.

Sure THE-VM option in Eclipse.ini are 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 are located in your Eclipse installation folder):-VM C : \program Files\java\jdk1.6.0_06\bin\javaw.exe

It is important to have the the correct location otherwise Eclipse'll have no clue about this setting:-SHOWSP Lash
Org.eclipse.platform
--launcher. Xxmaxpermsize
256M
-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.

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.