收集要安装的项目时出现错误(访问被拒绝) [英] An error occurred while collecting items to be installed (Access is denied)

查看:1180
本文介绍了收集要安装的项目时出现错误(访问被拒绝)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

当我尝试从Eclipse安装升级程序时,我收到下面的错误,它就像中途一样,然后抛出错误。

I'm getting the error given below when I try to install the upgrade from Eclipse and it goes like half way and then throw the error.

An error occurred while collecting items to be installed
session context was:(profile=epp.package.java, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Unable to write to repository: file:/C:/Program%20Files/eclipse/.
C:\Program Files\eclipse\plugins\org.jboss.netty_3.2.4.Final-201112281337.jar (Access is denied)

请提供解决方案。

感谢

推荐答案

在Windows 7上,Program Files目录为保护所以应用程序无法自动写入。我听到的最简单的解决方案就是将Eclipse安装到用户可写的位置。例如, C:\Java\Eclipse

On Windows 7, the Program Files directory is protected so apps can't automatically write there. The simplest solution I've heard is just to install Eclipse into a user-writable location instead. For example, C:\Java\Eclipse

您应该能够移动整个eclipse目录,没有注册表项或任何其他将Eclipse连接到您提取它的地方。

You should be able to just move your entire eclipse directory, there's no registry entries or anything else that ties Eclipse to the place where you extracted it.


您是否检查了它所抱怨的目录关于我实际上可写?除此之外,我真的没有任何想法。几年来我没有在Windows上工作,从来没有使用过Win7。我唯一的其他建议是只需下载最新的Eclipse,将其安装到新的位置(不要将其放在现有Eclipse的顶部),并将其指向现有工作区。

Have you checked that the directory it is complaining about i actually writable? Other than that, I really don't have any ideas. I haven't worked on Windows in several years and never with Win7. My only other suggestion is to just download the latest Eclipse, install it to a new location (do NOT intall it over top of your existing Eclipse), and point it to your existing workspace.

这篇关于收集要安装的项目时出现错误(访问被拒绝)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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