Velvet Star Monitor

Standout celebrity highlights with iconic style.

news

How to install Eclipse Neon using its installer for all users?

Writer Emily Wong

I have followed the instructions from this answer to similar question, but it looks like the installer in sudo mode installs most of plugins to /root/.p2/pool/plugins, so you can't access it in non-sudo mode.

I have copied .p2 folder (/root/.p2) to my install folder (/opt/eclipse/) and changed launcher library path in eclipse.ini file to point to the new location.

Unfortunately, that did not help:

An error has occurred. See the log file
/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)

How to install Eclipse Neon using installer in such a way, that any user on the system can use it?

I'm using Ubuntu 14.04.

3 Reset to default

Know someone who can answer? Share a link to this question via email, Twitter, or Facebook.

Your Answer

Sign up or log in

Sign up using Google Sign up using Facebook Sign up using Email and Password

Post as a guest

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy