Eclipse在安装后不会显示插件 [英] Eclipse won't show plugins after installation

查看:444
本文介绍了Eclipse在安装后不会显示插件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在Ubuntu 9.10中使用eclipse,没有任何问题。最近我做了升级到10.04,似乎我的〜/ .eclipse文件夹被覆盖了。现在我尝试再次安装我的早期插件,但是当我重新启动eclipse,它们不会出现。我可以在安装的软件部分看到这些插件。我也可以在〜/ .eclipse / plugins和〜/ .eclipse / features中看到它们



我做了以下操作:
将安装的插件从〜/ .eclipse / plugins到/ usr / lib / eclipse / plugins。完成相同的功能。



现在,当我运行eclipse作为sudo,我可以看到插件。

解决方案

首先关于你的插件。 >

当您说看到插件时,您会看到物理文件夹和jar。最好的方法是使用对话框:help => about eclipse =>安装细节



有一些信息丰富的选项卡告诉你你的配置实际上是什么制成。包括最后一个选项卡,显示eclipse初始化的日志。



然后您还可以使用其专用视图查看日志:window => show view => error log。 / p>

总而言之,您所描述的问题似乎与权限有关。在eclipse本身或你的工作区或java本身。我会检查一下!



现在关于你的困境的远程原因。



你似乎有通过apt安装日食。这不是必需的。


  1. apt版本总是晚于稳定的eclipse版本。

  2. Debian的用户使用apt的原因是因为它负责所有的依赖关系。然而,eclipse带有很少的外部依赖关系:JRE和所有内部依赖关系。这就是为什么你现在有预先打包的eclipse捆绑包。



    此外,使用apt可能会在您不需要它时强制安装不必要的eclipse更新。这是你发生了什么。



    将来,如果你想保持安全的一面,不要使用apt,去eclipse下载页面,抓住最新的稳定版本。通过突触卸载eclipse就可以了,然后重新安装下载的版本,然后重新安装插件。所以当Natty在两个月的时间里,你不必再重做一切了。


    I had been using eclipse in Ubuntu 9.10 without any problems. Recently I did an upgrade to 10.04, and it seems that my ~/.eclipse folder was overwritten. Now i tried installing my earlier plugins again, but when i restart eclipse, they don't appear. I can see these plugins in the "installed software" section. I can also see them in ~/.eclipse/plugins and ~/.eclipse/features

    I did the following : Copy the plugins installed from ~/.eclipse/plugins to /usr/lib/eclipse/plugins. Done the same for features too.

    Now, when i run eclipse as sudo, i can see the plugins. How do i make sure that the plugins are seen when i dont run as sudo?

    解决方案

    First about your plugins.

    When you say you "see" the plugins it looks like you see the physical folders and jars. The best way is actually to use the dialogue box : help => about eclipse => installation details

    There are a number of informative tabs that tell you what your configuration is actually made of. Including the last tab showing the log of the eclipse initialisation.

    Then you can also see the log using its dedicated view : window => show view => error log.

    Overall the problem as you describe it seems to have to do with permissions. Either in eclipse itself or your workspace or java itself. I'd check that first !

    Now about the remote reason for your predicaments.

    You seem to have installed eclipse through apt. This is not necessary.

    1. apt versions are always late over stable eclipse releases.
    2. You don't master plugins when an upgrade is inflicted on you.

    The reason why Debian folks use apt is because it takes care of all dependencies. However, eclipse comes with very little external dependencies: the JRE and that's all and a lot of internal dependencies. This is why you now have pre-packaged eclipse bundles.

    In addition, using apt may force an unwanted eclipse update on your installation when you less need it. This is what happened to you.

    In the future, if you want to stay on the safe side, don't use apt, go to the eclipse download page and grab the latest stable version. It's sufficient to uninstall eclipse though synaptic and then reinstall the downloaded version and then reinstall your plugins. So that when Natty comes in 2 months time, you don't have to redo everything again.

    这篇关于Eclipse在安装后不会显示插件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆