安装在 Eclipse 上的插件不可见

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/2697882/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-10 19:21:25  来源:igfitidea点击:

Plugins installed on Eclipse not visible

eclipseeclipse-plugin

提问by Derk

When I install a plugin in Eclipse everything goes well. But after restarting the new plugin is not visible. I have tried it with different plugins, but they have all the same problem. The only place where I can see them is when I look at "What is already installed?".

当我在 Eclipse 中安装插件时,一切顺利。但是重新启动后新插件是不可见的。我用不同的插件尝试过,但它们都有同样的问题。我唯一能看到它们的地方是当我查看“已经安装了什么?”时。

What could be the problem?

可能是什么问题呢?

回答by Zsolt T?r?k

This issue and its solution is described in a DZone articleand at the nWire blog.
It all boils down to these two options:

此问题及其解决方案在DZone 文章nWire 博客中有所描述。
这一切都归结为这两个选项:

回答by Alivallo

sudo eclipse -clean;  

Help --> Install software -->Re-install the plugins and software;

Help --> Install software -->重新安装插件和软件;

Explanation:
Eclipse is installed and the majority of programs are also installed initially with root privileges.

说明:
安装了 Eclipse 并且大多数程序最初也是以 root 权限安装的。

Typically 'Ownership' of hidden install folders like this belong to the 'Sudo' or Root user. Therefore changes and installs to these hidden folders will not take.

通常,像这样的隐藏安装文件夹的“所有权”属于“Sudo”或 Root 用户。因此,不会对这些隐藏文件夹进行更改和安装。

回答by Vineet Reynolds

Have you tried running Eclipse with the -clean argument? You need to do this only once and not every time you start Eclipse, you it is recommended to do so after a plugin installation.

您是否尝试过使用 -clean 参数运行Eclipse?您只需要执行一次,而不是每次启动 Eclipse 时都执行此操作,建议您在安装插件后执行此操作。

If that doesn't help, verify if you have privileges to write onto the features and plugins subdirectories. The plugin installation process requires the write privilege, but I've never seen a plugin installation succeed without one; still, it is worth checking for.

如果这没有帮助,请验证您是否具有写入 features 和 plugins 子目录的权限。插件安装过程需要写权限,但我从未见过没有一个插件安装成功;尽管如此,还是值得一试。

回答by Vivek

I recently installed a plugin which I no longer needed. Adding to @VonC , I found my plugins are under /.eclipse/org.eclipse.plaform.xxxx/featuresand /.eclipse/org.eclipse.plaform.xxxx/configurations folders.

我最近安装了一个不再需要的插件。添加到 @VonC ,我发现我的插件位于/.eclipse/org.eclipse.plaform.xxxx/features/.eclipse/org.eclipse.plaform.xxxx/configurations 文件夹下。

Hope this helps !!

希望这可以帮助 !!

回答by Adam Butler

I had a problem one time where I was running eclipse with an old jre - it worked but plugins that needed jre6 didn't load. Do you have a recent jre in your path and as your java_home?

有一次我在使用旧的 jre 运行 eclipse 时遇到了问题 - 它可以工作,但是需要 jre6 的插件没有加载。您的路径和 java_home 中有最近的 jre 吗?

回答by VonC

You could be in a custom perspectivein which the plugin commands are not set to be visible (hence no menu, no view, ...). See this question for more on perspectives.

您可能处于自定义透视图,其中插件命令未设置为可见(因此没有菜单,没有视图,...)。有关观点的更多信息,请参阅此问题

alt textalt text http://www.javalobby.org/images/postings/rj/eclipse%5Fperspective/1.gif

替代文字替代文字 http://www.javalobby.org/images/postings/rj/eclipse%5Fperspective/1.gif

Can you see your plugins in the <eclipse>/pluginsand <eclipse>/featuresdirectories?
Can you check your "Error Log" view and see if there is any error message?
Can you see if the Preferences reference your plugins?

你能在<eclipse>/plugins<eclipse>/features目录中看到你的插件吗?
您可以检查“错误日志”视图并查看是否有任何错误消息?
你能看到首选项是否引用了你的插件吗?

You can also try re-launching Eclipse with the -cleancommand line argumen

您也可以尝试使用-clean命令行参数重新启动 Eclipse

回答by Prithviraj Dongrekar

I had similar issue and in my case eclipse was staring up using a older version of java. The Oozie plugin requires 1.8 java version. Staring up eclipse using the 1.8 version java fixed it for me.

我有类似的问题,在我的情况下,eclipse 正在使用旧版本的 java。Oozie 插件需要 1.8 java 版本。使用 1.8 版本的 java 启动 eclipse 为我修复了它。