Failed to create the Java Virtual Machine

今天eclipse打不开,报“Failed to create the Java Virtual Machine”

根据网上修改eclipse目录下的eclipse.ini:

-startup
plugins/org.eclipse.equinox.launcher_1.1.0.v20100507.jar
–launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.0.v20100503
-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

继续报错,然后把360、QQ管家等软件退出,错误消失,费解!

原文地址:https://www.cnblogs.com/android-qian/p/3600718.html