[英]Eclipse 'Installing Software' - chmod failed
I'm new to Java and Eclipse and I'm not sure what this error message means: 我是Java和Eclipse的新手,我不确定这个错误消息是什么意思:
*An error occurred while installing the items session context was: *安装项目会话上下文时发生错误:
(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).
(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*
动作chmod失败 - 文件/opt/eclipse/collectSupportInformation.sh不存在*
This happened while I was trying to install a ui tool. 这是在我尝试安装ui工具时发生的。 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). 我之前使用过
Help->Install New Software
并且工作得很好但是现在我无论我想要安装什么都会收到这个错误(我尝试了几种不同的工具)。 What am I supposed to do? 我应该做些什么?
I'm using Eclipse Luna on Ubuntu 14.04 我在Ubuntu 14.04上使用Eclipse Luna
I was having this issue on my mac. 我在我的Mac上遇到了这个问题。 I got it working by moving the Eclipse app to the Applications folder (I was running it from Downloads).
我通过将Eclipse应用程序移动到Applications文件夹(我从下载中运行它)来实现它。
Try the below steps:- 尝试以下步骤: -
1) Restart your eclipse by using clean flag -> ./eclipse -clean 1)使用clean flag - > ./eclipse -clean重启你的eclipse
2) Turn off usage data collection by going to preference->usage data collection-> turn off 2)转到首选项 - >使用数据收集 - >关闭,关闭使用数据收集
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). 3)确保运行eclipse的用户已经读取了对dir / opt / eclipse的写入权限,或者只是执行命令chmod -R 777 / opt / eclipse(一旦问题得到解决,你可以再次更改正确的模式,777只是试图解决问题)。
Hope it will help you to resolve the issue.Please update if you facing any issue to follow the above steps. 希望它能帮助您解决问题。如果您遇到任何问题,请更新以遵循上述步骤。
我有类似的东西,但在Windows 8.1下,修复是关闭Eclipse IDE,然后“以管理员身份运行”,然后运行更新!
尝试通过eclipse.org直接链接而不是通过安装程序下载完整包。
I had the same problem when I was "opening with Archiver" instead of saving first to disk. 当我用“Archiver”打开而不是先保存到磁盘时,我遇到了同样的问题。 If first I save the tar.gz to disk, then untar it and run the eclipse-inst, all is fine
如果我首先将tar.gz保存到磁盘,然后解压缩并运行eclipse-inst,一切都很好
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.