1

我昨天安装了 Eclipse Neon,它似乎工作正常。安装了一些插件并做了一些工作。

今天,当我启动它时,我收到以下错误消息:

$ /usr/local/bin/eclipse46
/root/.p2/pool/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.400.v20160518-1444: cannot open shared object file: Permission denied

config.ini我在文件中找到了对该文件夹的一些引用root(我不知道为什么)。我已经纠正了这些,文件现在看起来像:

#This configuration file was written by: org.eclipse.oomph.p2.internal.core.AgentImpl
#Tue Jul 26 16:10:00 CEST 2016
org.eclipse.update.reconcile=false
eclipse.p2.profile=_opt_eclipse.neon_eclipse
osgi.instance.area.default=@user.home/workspace
osgi.framework=file\:plugins/org.eclipse.osgi_3.10.102.v20160118-1700.jar
equinox.use.ds=true
eclipse.buildId=4.6.0.I20160606-1100
osgi.bundles=reference\:file\:org.eclipse.equinox.simpleconfigurator_1.1.200.v20160504-1450.jar@1\:start
org.eclipse.equinox.simpleconfigurator.configUrl=file\:org.eclipse.equinox.simpleconfigurator/bundles.info
eclipse.product=org.eclipse.platform.ide
osgi.splashPath=platform\:/base/plugins/org.eclipse.platform
osgi.framework.extensions=reference\:file\:org.eclipse.osgi.compatibility.state_1.0.200.v20160504-1419.jar,reference\:file\:org.eclipse.wst.jsdt.nashorn.extension_1.0.0.v201605131737.jar
osgi.bundles.defaultStartLevel=4
eclipse.p2.data.area=@config.dir/../p2/
eclipse.application=org.eclipse.ui.ide.workbench

但是,我仍然收到“权限被拒绝”错误。有什么方法可以纠正这个吗?

4

1 回答 1

0

我试图将我的用户文件夹放到 eclipse.ini 文件中,但没有成功。

--launcher.library ~/.p2/pool/plugin /org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.400.v20160518-1444

似乎目前最好的方法是将根目录中的文件夹复制给您的用户,一旦它使用新的安装程序创建。

于 2016-09-08T04:16:25.210 回答