Eclipse - Failed to create the java virtual machine

前端 未结 22 2490
礼貌的吻别
礼貌的吻别 2020-12-08 01:18

I\'m having issue with running my Eclipse with the following config:

eclipse.ini

-startup
plugins/org.eclipse.equinox.launcher_1.2.0.v20110502.jar
--         


        
相关标签:
22条回答
  • 2020-12-08 01:34

    Try to open eclipse.ini and replace

    -Xmx1024m
    

    with

    -Xmx512m
    

    My java version is 1.7 as you can see below

    -Dosgi.requiredJavaVersion=1.7
    

    so i didn't modify that parameter.

    This worked for me ;-)

    0 讨论(0)
  • 2020-12-08 01:36

    You can do a workaround as below:

    Create a shortcut for eclipse and right click on the short cut and go to properties of the shortcut.

    In the target box update the string:

    -vm "C:\Program Files\Java\jdk1.6.0_07\bin"
    

    the path will change according to your java installed directory.

    So after changing the target string will be something like below.

    D:\adt-bundle-windows-x86-20131030\eclipse\eclipse.exe -vm "C:\Program Files\Java\jdk1.6.0_07\bin"
    

    Click apply and try clicking the Eclipse shortcut.

    0 讨论(0)
  • 2020-12-08 01:36

    I had also entered the path of MinGW complier for C++. After removing it, the error disappeared.

    0 讨论(0)
  • 2020-12-08 01:38

    Change target to specific installation file
    like below
    Target: D:\SoftWares\oepe-12.1.3.1-luna-maf-distro-win32-x86_64old\eclipse.exe -vm D:\delete\jdk1.7.0_67\bin\javaw.exe

    0 讨论(0)
  • 2020-12-08 01:40

    Reduce the memory size to Xmx512m and it works.

    0 讨论(0)
  • 2020-12-08 01:41

    In my case reducing Xmx1024m to something smaller e.g Xmx512m make it works. So from all the responses (above and in similar other sites), it seems that you may try to massage/reduce the memory size.

    0 讨论(0)
提交回复
热议问题