Failed to create JAVA virtual machine Eclipse Error

1. Open eclipse.ini file.

2. In two places in eclipse.ini that includes


make it as below


3. Even after the above changes if it is not working change eclipse.ini as below after -Dosgi.requiredJavaVersion. Initially it will be 256m and 1024m.


4. Even after following the 3rd point, if it is not fixed. Add the below code before -vmargs.

C:\Program Files (x86)\Java\jdk1.8.0_77\jre\bin\server\jvm.dll

Best Method to get the log

Double click eclipsec instead of eclipse.exe, you will be able to see the log in command prompt.



Sharing is Caring!!! Share this with your friends!!!

submit to reddit