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

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

问题描述

当我尝试从 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 Fileseclipsepluginsorg.jboss.netty_3.2.4.Final-201112281337.jar (Access is denied)

请提供解决方案.

谢谢

推荐答案

在 Windows 7 上,Program Files 目录受到保护,因此应用程序无法自动写入该目录.我听说过的最简单的解决方案就是将 Eclipse 安装到 user-writable 位置.例如,C:JavaEclipse

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:JavaEclipse

您应该能够移动整个 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天全站免登陆