简体   繁体   English

Eclipse无法在Ubuntu 14.04中启动

[英]Eclipse doesn't start in Ubuntu 14.04

I have a problem trying to launch Eclipse in Ubuntu 14.04. 我在Ubuntu 14.04中尝试启动Eclipse时遇到问题。 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). 我尝试过Luna,Kepler和3.8(来自Ubuntu存储库)。 EE and SE editions - both the same. EE和SE版本 - 两者都相同。 I have also tried to launch them with different (oracle) vm - 1.7 and 1.8. 我也尝试用不同的(oracle)vm-1.7和1.8启动它们。 And yes, I have tried the -clean and simple workspace removal. 是的,我已经试过了-clean和简单的工作区中去除。

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. org.eclipse.m2e.logback.configuration:在初始化状态位置之前激活了org.eclipse.m2e.logback.configuration包。 Will retry after the state location is initialized. 将在状态位置初始化后重试。

Java VM works fine - I can launch (for example) IDEA or java\\javac commands. Java VM工作正常 - 我可以启动(例如)IDEA或java\\javac命令。

Any suggestions? 有什么建议么?

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. 可能存在工作区对话。

Try this: 尝试这个:

1) Remove .snap from: 1)从以下位置删除.snap

.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 {} \;

It Generally happen when eclipse is closed unexpectedly. 它通常发生在意外关闭eclipse时。 Heres things you can do.! 你可以做的事情。 1)Save and Delete .metadata from workspace folder. 1)从工作区文件夹中保存并删除.metadata。 2) Try Re-installing Eclipse. 2)尝试重新安装Eclipse。

This solution worked for me. 这个解决方案对我有用。 :) :)

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. 如果您没有任何挂起的更改并且已将项目推送到您的仓库,您还可以尝试删除eclipse自动打开项目路径的项目文件夹。

When you run eclipse again, it will work again. 当你再次运行eclipse时,它会再次运行。

Unfortunately, deleting metadata didnt work for me. 不幸的是,删除元数据对我没用。 Also I don't have any extra monitor so deleting my project folder was my last resort. 此外,我没有任何额外的显示器,所以删除我的项目文件夹是我的最后一招。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM