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.