Configuring Eclipse for Maven plugins

Change eclipse.ini from

-startup

plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar

--launcher.library

plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.2.R36x_v20101222

-product

org.eclipse.epp.package.jee.product

--launcher.defaultAction

openFile

--launcher.XXMaxPermSize

256M

-showsplash

org.eclipse.platform

--launcher.XXMaxPermSize

256m

--launcher.defaultAction

openFile

-vmargs

-Dosgi.requiredJavaVersion=1.5

-Xms40m

-Xmx512m

To

-startup

plugins/org.eclipse.equinox.launcher_1.1.1.R36x_v20101122_1400.jar

--launcher.library

plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.2.R36x_v20101222

-product

org.eclipse.epp.package.jee.product

--launcher.defaultAction

openFile

--launcher.XXMaxPermSize

256M

-showsplash

org.eclipse.platform

--launcher.XXMaxPermSize

256m

--launcher.defaultAction

openFile

-vm

C:\Java\jdk1.6.0_23_64\bin\javaw.exe

-vmargs

-Dosgi.requiredJavaVersion=1.5

-Xms40m

-Xmx512m

Noticethenewline,itisimportant

Also:

WeneedtochangetheinstalledJRE'sinEclipsepreferences

相关推荐