Reprint please indicate: Big fly _rflyee:http://blog.csdn.net/rflyee/article/details/8958165
After reinstalling the JDK, you encounter such a problem as "failed to create the Java virtual machine." Google a bit and found the right solution and explanation:
Solution steps:
1, open the Eclipse extract directory of the configuration file Eclipse.ini;
2, find
--launcher. Xxmaxpermsize
256M
and replace it with
--launcher. Xxmaxpermsize
128M
Note: This value corresponds to two places, that is, two changes need to be modified.
3, save, start eclipse;
Question Explanation:
The maximum value of the method area (Perm Gen) to be run in the Eclipse configuration file is set to 256M or greater, but 128M is enough; the Eclipse runtime checks the memory to ensure it works, but there is not enough native memory, so the warning does not work. Now set the MaxPermSize to 128M. Which is equivalent to lowering the operating threshold.
According to the user's reflection, about Eclipse.ini configuration information,
We can refer to http://blog.csdn.net/rflyee/article/details/21005667
or Official document: Http://wiki.eclipse.org/Eclipse.ini#-vm_value%3a_Windows_Example
Reprint please indicate: Big fly _rflyee:http://blog.csdn.net/rflyee/article/details/8958165