小编Mic*_*uga的帖子

如何使用其安装程序为所有用户安装 Eclipse Neon?

我已经按照this answer to similar question进行操作,但看起来sudo模式下的安装程序将大多数插件安装到/root/.p2/pool/plugins,因此您无法在非sudo模式下访问它。

我已将 .p2 文件夹 (/root/.p2) 复制到我的安装文件夹 (/opt/eclipse/) 并更改了 eclipse.ini 文件中的启动器库路径以指向新位置。

不幸的是,这没有帮助:

“发生错误。查看日志文件/home/michal-praca/.eclipse/org.eclipse.platform_4.6.0_1942444138_linux_gtk_x86_64/configuration/1469604630174.log”

!SESSION Wed Jul 27 09:25:23 CEST 2016 -----------------------------------------
!ENTRY org.eclipse.equinox.launcher 4 0 2016-07-27 09:25:23.561
!MESSAGE Could not find extension: reference:file:org.eclipse.osgi.compatibility.state_1.0.200.v20160504-1419.jar
!ENTRY org.eclipse.equinox.launcher 4 0 2016-07-27 09:25:23.565
!MESSAGE Could not find extension: reference:file:org.eclipse.wst.jsdt.nashorn.extension_1.0.0.v201605131737.jar
!ENTRY org.eclipse.equinox.launcher 4 0 2016-07-27 09:25:23.570
!MESSAGE Exception launching the Eclipse Platform:
!STACK
java.lang.ClassNotFoundException: org.eclipse.core.runtime.adaptor.EclipseStarter
    at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
    at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
    at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:670)
    at org.eclipse.equinox.launcher.Main.basicRun(Main.java:610)
    at org.eclipse.equinox.launcher.Main.run(Main.java:1519)
    at org.eclipse.equinox.launcher.Main.main(Main.java:1492)
Run Code Online (Sandbox Code Playgroud)

如何使用安装程序安装 Eclipse …

eclipse software-installation

8
推荐指数
0
解决办法
2022
查看次数

标签 统计

eclipse ×1

software-installation ×1