Solve the Eclipse startup error [Failed to create the Java Virtual Machine]

Start eclipse and report the error Could not create the Java Virtual Machine



 

 

After searching online, most of them say that you can modify Xmx in the configuration file, but I can't even try it myself.

Later I saw another method: delete the three files java.exe, javaw.exe, javaws.exe in the C:\Windows\System32 directory.

 

When starting adt-bundle-windows-x86-20140702\eclipse\eclipse.exe, an error [Failed to create the Java Virtual Machine] is reported. After clicking OK, Eclipse closes automatically

The workaround is as follows:

Modify the configuration file in the Eclipse directory [eclipse.iniadt-bundle-windows-x86-20140702\eclipse\eclipse.ini]

Change the following two values ​​to 0.5 times the original value, then save, restart Eclipse and it will be OK

 



 

Guess you like

Origin http://10.200.1.11:23101/article/api/json?id=326787704&siteId=291194637