I don't know if it is because of the system and the specific JDK version. I haven't encountered this problem in win7 before. Today, I installed an XP system on my computer and ran eclipse.
This problem occurs, as shown in:
In the beginning, I thought that the virtual machine could not be found in eclipse, and the JVM. dll file needs to be created. But this is not the problem. I need to change the heap size configuration of eclipse. ini, Which is 128 MB,
I have not studied this in depth. I don't know if it is because of the XP system. It determines that it is 128 MB.
The eclipse. ini before modification is:
1 -Startup
2 Plugins/org. Eclipse. Equinox. launcher_1.2.0.v20110502.jar
3 -- Launcher. Library
4 Plugins/org. Eclipse. Equinox. launcher. win32.win32. x86_1.1.100.v20110502
5 -Product
6 Org. Eclipse. EPP. Package. Jee. Product
7 -- Launcher. defaultaction
8 Openfile
9 -- Launcher. xxmaxpermsize
10 256 m
11 -Showsplash
12 Org. Eclipse. Platform
13 -- Launcher. xxmaxpermsize
14 256 m
15 -- Launcher. defaultaction
16 Openfile
17 -Vmargs
18 -Dosgi. requiredjavaversion = 1.5
19 -Xms40m
20 -Xmx512m
The modified eclipse. ini file is:
1 -Startup
2 Plugins/org. Eclipse. Equinox. launcher_1.2.0.v20110502.jar
3 -- Launcher. Library
4 Plugins/org. Eclipse. Equinox. launcher. win32.win32. x86_1.1.100.v20110502
5 -Product
6 Org. Eclipse. EPP. Package. Jee. Product
7 -- Launcher. defaultaction
8 Openfile
9 -- Launcher. xxmaxpermsize
10 128 m
11 -Showsplash
12 Org. Eclipse. Platform
13 -- Launcher. xxmaxpermsize
14 128 m
15 -- Launcher. defaultaction
16 Openfile
17 -Vmargs
18 -Dosgi. requiredjavaversion = 1.5
19 -Xms40m
20 -Xmx512m
In this way, eclipse can run normally after configuration.