Eclipse doesn't start in Ubuntu 14.04

谁说我不能喝 提交于 2019-12-06 01:33:59

问题


I have a problem trying to launch Eclipse in Ubuntu 14.04. Splash picture pops up, then blinks, turns white - and nothing happens until kingdom come. I have tried Luna, Kepler and 3.8 (from Ubuntu repository). EE and SE editions - both the same. I have also tried to launch them with different (oracle) vm - 1.7 and 1.8. And yes, I have tried the -clean and simple workspace removal.

This is the only thing it says in console:

org.eclipse.m2e.logback.configuration: The org.eclipse.m2e.logback.configuration bundle was activated before the state location was initialized. Will retry after the state location is initialized.

Java VM works fine - I can launch (for example) IDEA or java\javac commands.

Any suggestions?


回答1:


Try this:

1) Remove .snap from:

.metadata\.plugins\org.eclipse.core.resources\.projects\<project>\.markers.snap

If you can't find it manually try this:

find /.metadata/.plugins/org.eclipse.core.resources/.projects -name "*.snap" -exec rm -f {} \;



回答2:


The answer is already here, but it's in the comments. So I re-post it as answer: check your 2nd screen. Workspace dialogue may be there.




回答3:


It Generally happen when eclipse is closed unexpectedly. Heres things you can do.! 1)Save and Delete .metadata from workspace folder. 2) Try Re-installing Eclipse.

This solution worked for me. :)




回答4:


If you don't have any pending changes and have pushed your project already on your repo, you can also try deleting the project folder where eclipse opens a project path automatically.

When you run eclipse again, it will work again.

Unfortunately, deleting metadata didnt work for me. Also I don't have any extra monitor so deleting my project folder was my last resort.



来源:https://stackoverflow.com/questions/24726191/eclipse-doesnt-start-in-ubuntu-14-04

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!