Eclipse will not start and I haven't changed anything

后端 未结 15 928
刺人心
刺人心 2020-11-28 17:53

I haven\'t updated anything for at least a month. I was just working normally and suddenly the menus were all blank, so I decided to restart eclipse. I clicked \"close\" an

15条回答
  •  没有蜡笔的小新
    2020-11-28 18:24

    Today, I had the same problem. My eclipse refused to start. When I double clicked on Eclipse icon I was able to see splashscreen for a second and then nothing happen. Tried most of the solutions here: removed lock file, renamed workspace, tried to start Eclipse with different clean parameters. I even put a new copy of Eclispe and tried to start with a new workspace. Nothing!

    My logs were showing bunch of errors from yesterday when my workstation was rebooted at 17:45.

    !ENTRY org.eclipse.ui.workbench 4 2 2014-12-17 17:45:12.178
    !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench".
    !STACK 0
    java.lang.NullPointerException
    

    In the end this very simple change (look below) saved my Eclipse together with my workspace!

    SOLUTION:

    I edited eclipse.ini and added following line:

    -vm
    C:\Program Files\Java\jdk1.6.0_26\bin\javaw.exe
    

    Eclipse has started again with all my projects inside! I hope this can help.

提交回复
热议问题