zoukankan      html  css  js  c++  java
  • Eclipse hangs on loading workbench, eclipse停在启动界面的处理办法

    http://stackoverflow.com/questions/8972034/eclipse-hangs-on-loading-workbench

    解答一:

    In most cases, rm workspace/.metadata/.lock works for me. Make sure to start eclipse using ./eclipse -clean -refresh whatever you try. Thanks for teaching us mv .eclipse .eclipse.old, which did not help today. Today it helped to delete workspace/.metadata/.plugins/. All Plugins actually did work after that. Some settings gone. You can then use Import... to import all your existing projects at once. Deleting workspace/.metadata is the last choice, but works. You can keep workspace/.metadata/.mylyn if you don't want to loose your tasks.

    DISCLAIMER: THIS WILL DELETE ALL OF YOUR ECLIPSE WORKSPACE SETTINGS AND YOU WILL HAVE TO RE-IMPORT ALL YOUR PROJECTS, THERE ARE LESS DESTRUCTIVE ANSWERS HERE

    Try the following:

    1. Delete the .metadata folder in your local workspace (this is what worked for me). It seems that it contains a .LOCK file that if not properly closed, prevents eclipse from starting properly. On Unix based systems you can type following on command line;

      rm -r workspace/.metadata
      
    2. Delete your .eclipse directory in your home directory. Launch eclipse. If that doesn't work,

    3. Open eclipse under another user account. If it loads, you know the problem is with your account, not your eclipse installation.

    解答二:

    The procedure shown at http://off-topic.biz/en/eclipse-hangs-at-startup-showing-only-the-splash-screen/ worked for me:

    1. cd .metadata/.plugins
    2. mv org.eclipse.core.resources org.eclipse.core.resources.bak
    3. Start eclipse. (It should show an error message or an empty workspace because no project is found.)
    4. Close all open editors tabs.
    5. Exit eclipse.
    6. rm -rf org.eclipse.core.resources (Delete the newly created directory.)
    7. mv org.eclipse.core.resources.bak/ org.eclipse.core.resources (Restore the original directory.)
    8. Start eclipse and start working. :-)

    In other answers:

    eclipse -clean -clearPersistedState
    

    is mentioned - which seems to have the same or even better effect.

    解答三:

    ./eclipse -clean -refresh
    

    as mentioned in comment by sulai Dec 20 '12 at 12:46, that worked for me.

  • 相关阅读:
    jzoj 3176. 【GDOI2013模拟5】蜘蛛侠
    各种各样的根号算法 总结&刷题
    jzoj 3187. 【GDOI2013模拟8】的士
    jzoj 3188. 【GDOI2013模拟8】找数
    jzoj 4673. 【NOIP2016提高A组模拟7.20】LCS again
    jzoj 4672. 【NOIP2016提高A组模拟7.20】Graph Coloring
    markdown 模板2
    树莓派kali开启arp【arpspoof,urlsnarf】
    Java 图片处理——如何生成高清晰度而占有磁盘小的缩略图
    手把手教你生成二维码-google.zxing
  • 原文地址:https://www.cnblogs.com/welhzh/p/5141283.html
Copyright © 2011-2022 走看看