July 1, 2015

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.


  1. Thanks a lot. This worked

  2. Thanks a lot.. I already spent 4, 5 hrs searching for a solution.. But this one worked.. Thank you.. .:)
    The 4th step was working for me.. :)

  3. last one worked. thank you so much.