In the past, I used eclipse-jee to delete bugs during project deployment. Today, I went to the eclipse official website to download another Eclipse IDE for Java EE developers.
Version is: eclipse-jee-helios-SR1-win32.zip
My JDK version is: 1.6.0 _ 20
After decompression, start and find the prompt box "failed to create the Java Virtual Machine"
Find a solution to this problem on the Internet. Find a few, all of which are ctrl c/V, without a half-sentence explanation.
Later, I searched on the forum on the eclipse Official Website Based on the unsatisfactory English proficiency and found this problem a bug.
"The Java bug was closed for voting and comments at 6969236 on the Java bugparade because the change has been reverted; the related eclipse bug report is open for oting and comments at Bug 319514. -reference the eclipse Official Website
Before the release of the fix version, it provides a solution:
Open the eclipse. ini file in the eclipse directory and modify the-launcher. xxmaxpermsize attribute. The attribute 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
256 m
-Showsplash
Org. Eclipse. Platform
-- Launcher. xxmaxpermsize
256 m
-- Launcher. defaultaction
Openfile
-Vmargs
-Dosgi. requiredjavaversion = 1.5
-Xms40m
-Xmx512m
Change the value to MB, as shown below. (In fact, you only need to change the next one. When eclipse is started, it will prevail)
-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
128 m
-Showsplash
Org. Eclipse. Platform
-- Launcher. xxmaxpermsize
128 m
-- Launcher. defaultaction
Openfile
-Vmargs
-Dosgi. requiredjavaversion = 1.5
-Xms40m
-Xmx512m
Then you can start it successfully.