Must be in one line, otherwise the Eclipse executable launcher was unable to locate its companion shared library error
Open the Eclipse.ini file under the Eclipse directory and modify the –launcher. The Xxmaxpermsize property, where this property has two-startup
Plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.r36x_v20100810
-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
Change its value to 128m, as follows. (In fact, just change the back one, whichever is later when you start Eclipse)
-startup
Plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.1.r36x_v20100810
-product
org.eclipse.epp.package.jee.product
--launcher.defaultaction
OpenFile
--launcher. Xxmaxpermsize
128M
-showsplash
Org.eclipse.platform
--launcher. Xxmaxpermsize
128m
--launcher.defaultaction
OpenFile
-vmargs
-dosgi.requiredjavaversion=1.5
-xms40m
-xmx512m
Then you can start it successfully.
Run eclipse, prompting failed to create the Java virtual machine.