Today, in the new environment, we need to re-build the android development environment. After downloading eclipse and installing jdk1.6, we started eclipse and found the error "cocould not create Java Virtual Machine ", click to close immediately.
The solution is as follows: Open the eclipse. ini file under the eclipse directory:
-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
To:
-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
Done! Good luck!