我正在按照步骤安装位于此处 https://developers.google.com/eclipse/docs/install-eclipse-4.2 的 GPE 4.2(Juno)
我在尝试安装 GPE 时收到以下错误。
Cannot complete the install because one or more required items could not be found. Software being installed: Google Plugin for Eclipse 4.2 3.1.0.v201208080121-rel-r42 (com.google.gdt.eclipse.suite.e42.feature.feature.group 3.1.0.v201208080121-rel-r42) Missing requirement for filter properties ~= $0: Eclipse Platform 4.2.1.v20120814-120134-9JF7BHVGFyMveli1uX6aTH0q-eAap6PAgOP5mO (org.eclipse.platform.feature.group 4.2.1.v20120814-120134-9JF7BHVGFyMveli1uX6aTH0q-eAap6PAgOP5mO) requires 'org.eclipse.core.net.linux.x86 [1.1.200.v20120522-1148]' but it could not be found Cannot satisfy dependency: From: Google Plugin for Eclipse 4.2 3.1.0.v201208080121-rel-r42 (com.google.gdt.eclipse.suite.e42.feature.feature.group 3.1.0.v201208080121-rel-r42) To: org.eclipse.platform.feature.group 3.8.0
我在 linux 64 位系统 (Linux Mint 13) 上为 java EE (Juno) 安装了 eclipse
只有当我尝试使用我安装在/opt 下的 eclipse 实例时才会出现这种情况。我在我的主目录下安装了另一个 eclipse 实例,但没有遇到这个问题。我假设在尝试使用安装在/opt 下的实例时存在导致问题的路径/权限问题。
我应该怎么做才能解决这个问题?我试图符合文件系统层次结构标准。我使用此处发布的说明安装 eclipse http://colinrrobinson.com/technology/install-eclipse-ubuntu/
最佳答案
您需要将插件安装到具有访问/opt 的适当权限的 Eclipse。有两种选择:
- 每当您想安装/更新插件时,使用 sudo 启动 Eclipse。
- 授予您的用户/组对/opt/的写入权限
我个人使用#2,没有任何问题。
注意:这与 google-plugin-for-eclipse 无关,它只是 Linux 和 Eclipse 安装目录的一般权限问题。
关于linux - 在 Linux 上将 Google Plugin for Eclipse 安装到/opt 时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/13020541/