When starting eclipse.exe it gives and error message
Failed to create Java Virtual Machine
When I click eclipsec.exe then eclipse starts. What is the difference between eclipse.exe
and eclipsec.exe
?
Why eclipse.exe is not working now which was working yesterday?
What will be impact if I use eclipsec.exe to start eclipse?
Open eclipse. ini in Notepad or any other text-editor application, Find the line -Xmx256m (or -Xmx1024m ). Now change the default value 256m (or 1024m ) to 512m . You also need to give the exact java installed version (1.6 or 1.7 or other).
The most common cause for the “Could not create the Java Virtual Machine” error is that Java doesn't have enough available memory on your system to launch the VM client.
At 'java Properties" window select the Compatibility tab and below the Settings pane, check the box Run this program as an administrator. Then click Apply and OK. 5. Finally, start the program that cannot run because of the "Could Not Create the Java Virtual Machine" error and see if the problem persists.
Open eclipse.ini file and Change the vmargs sizes to
-vmargs
-Xms40m
-Xmx512m
-XX:MaxPermSize=256m
It works on my system.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With