Ubuntu9.10 install and configure eclipse, subclipse, and m2eclipse

Source: Internet
Author: User
Ubuntu9.10 install and configure eclipse, subclipse, and m2eclipseeclispe3.51 install: After sudoapt-getinstalleclipse is completed, an additional program will be added to the application ". In this case, eclipse runs with its own jre. Later maven plug-ins will require eclipse to run in jdk instead of in jre. So install jdk: sudoapt-getin.

Install and configure eclipse, subclipse, and m2eclipse in Ubuntu 9.10

Eclispe 3.51 installation:

Sudo apt-get install eclipse

A program will be added to the application ".

In this case, eclipse runs with its own jre. Later maven plug-ins will require eclipse to run in jdk instead of in jre, so install jdk again:

Sudo apt-get install sun-java6-jdk

In this way, jdk will install to/usr/lib/jvm/java-6-sun

Then modify eclipse. ini

Sudo vim/usr/lib/eclipse. ini

Add the following line to-vmargs:

-Vm

/Usr/lib/jvm/java-6-sun-1.6.0.15/bin

(With carriage return)

Select window> preferences> java> installed jres to add the jre of the corresponding directory.

Then start Help-> install new software

Subclipse http://subclipse.tigris.org/update_1.2.x

Install subclipse. Subclipse provides svn support.

Then install the m2eclipse plug-in:

M2eclipse is troublesome and needs to be installed in sequence:

Emf http://download.eclipse.org/modeling/emf/updates/releases/

Http://download.eclipse.org/tools/cdt/releases/new cdt

Wtp http://download.eclipse.org/webtools/updates

Ajdt http://download.eclipse.org/tools/ajdt/34/update

Http://download.eclipse.org/tools/gef/updates/releases/ for zest or GEF

Http://download.eclipse.org/tools/mylyn/update/e3.4 mylyn

The last is m2eclipse:

Http://m2eclipse.sonatype.org/update/

Note: during the installation process, there are more than one version option in some update URLs. select an appropriate version.

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.