Eclipse“安装软件"-chmod失败 [英] Eclipse 'Installing Software' - chmod failed

查看:35
本文介绍了Eclipse“安装软件"-chmod失败的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我是Java和Eclipse的新手,我不确定此错误消息的含义:

I'm new to Java and Eclipse and I'm not sure what this error message means:

*安装项目会话上下文时发生错误:

*An error occurred while installing the items session context was:

(profile = epp.package.java,phase = org.eclipse.equinox.internal.p2.engine.phases.Install,操作数=空-> [R] com.sap.ide.support.feature_root.gtk.linux.x86_641.11.1,action = org.eclipse.equinox.internal.p2.touchpoint.natives.actions.ChmodAction).动作chmod失败-文件/opt/eclipse/collectSupportInformation.sh不存在*

(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.Install, operand=null --> [R]com.sap.ide.support.feature_root.gtk.linux.x86_64 1.11.1, action=org.eclipse.equinox.internal.p2.touchpoint.natives.actions.ChmodAction). The action chmod failed - file /opt/eclipse/collectSupportInformation.sh does not exist*

这是在我尝试安装ui工具时发生的.我以前曾经使用过 Help-> Install New Software ,当时一切正常,但是现在无论安装什么东西,我都会遇到此错误(我尝试了几种不同的工具).我该怎么办?

This happened while I was trying to install a ui tool. I've used Help->Install New Software before and it worked just fine then but now I'm getting this error no matter what I'm trying to install (I tried several different tools). What am I supposed to do?

我正在Ubuntu 14.04上使用Eclipse Luna

I'm using Eclipse Luna on Ubuntu 14.04

推荐答案

尝试以下步骤:-

1)使用clean标志-> ./eclipse -clean
重新启动Eclipse.2)转到偏好设置->使用数据收集->关闭
,以关闭使用情况数据收集3)确保正在运行eclipse的用户具有对dir/opt/eclipse的读写权限,或者仅执行命令chmod -R 777/opt/eclipse(一旦问题解决,您可以再次更改适当的模式,777只是尝试解决该问题).

1) Restart your eclipse by using clean flag -> ./eclipse -clean
2) Turn off usage data collection by going to preference->usage data collection-> turn off
3) make sure the user who is running eclipse having read write permission to dir /opt/eclipse, or just execute the command chmod -R 777 /opt/eclipse (Once problem is resolved you can again change the proper mode, 777 is just for trying to fix the issue).

希望它可以帮助您解决问题.如果遇到任何问题,请进行更新以遵循上述步骤.

Hope it will help you to resolve the issue.Please update if you facing any issue to follow the above steps.

这篇关于Eclipse“安装软件"-chmod失败的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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