Eclipse - Failed to create the java virtual machine

前端 未结 22 2636
礼貌的吻别
礼貌的吻别 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条回答
  •  猫巷女王i
    2020-12-08 01:54

    Change the below parameter in the eclipse.ini (which is in the same directory as eclipse.exe) to match one of your current Java version. Note that I also changed the maximum memory allowed for the eclipse process (which is run in a JVM). If you having multiple Java versions installed this can be happen. The below trick word for me.

    -Xmx512m
    -Dosgi.requiredJavaVersion=1.6
    

    I cahanged this to,

    -Xmx1024m
    -Dosgi.requiredJavaVersion=1.7
    

    Then It worked...

提交回复
热议问题