Eclipse Community Forums - RDF feed
https://www.eclipse.org/forums/
Eclipse Community ForumsLinux install for all users
https://www.eclipse.org/forums/index.php/mv/msg/1080525/1741672/#msg_1741672
I downloaded Eclipse 4.6 from eclipse.org "46275341 Aug 26 14:50 eclipse-inst-linux64.tar.gz".
My goal is to install Eclipse for all users on this CentOS 6.8 machine.
1) After unpacking with "tar -zxvf", there is no "eclipse" startup script in the top level of the resulting files.
An "eclipse_installer" directory is created.
Should I be able to run eclipse at this point ?
Is there a command-line installation method ?
2) I am able to run "./eclipse-inst" under my user account to start the oomph installer.
It prompts me by default to install into my $home directory. I install there successfully, and run eclipse successfully. The eclipse.ini file was successfully configured with my jvm...
-vm
/usr/java/jdk1.8.0_101/jre/bin
But I am trying to install eclipse into /opt so that all users can run it from a single installation.
3) If I launch the oomph installer with "sudo ./eclipse-inst", the installation is allowed into /opt. I attach the eclipse.ini file. I double-checked that the resources listed there in fact exist.
But when I run "/opt/eclipse/eclipse" as my normal user, I receive...
The Eclipse executable launcher was unable to locate its companion shared library.
I performed a search for this errmsg, and there are many results, but I did not find my scenario.
The permissions for the installation seem OK...
151 /opt => ls -ltr eclipse
total 240
-rwxr-xr-x 1 root root 140566 Jun 6 12:39 icon.xpm*
-rwxr-xr-x 1 root root 80393 Jun 6 12:39 eclipse*
drwxr-xr-x 2 root root 4096 Aug 26 15:06 readme/
drwxr-xr-x 2 root root 4096 Aug 26 15:06 dropins/
drwxr-xr-x 2 root root 4096 Aug 26 15:06 plugins/
-rw-r--r-- 1 root root 712 Aug 26 15:06 eclipse.ini
drwxr-xr-x 9 root root 4096 Aug 26 15:07 configuration/
Thank you in advance for any ideas, comments, or links.
]]>Dan Schafer2016-08-26T23:07:38-00:00Re: Linux install for all users
https://www.eclipse.org/forums/index.php/mv/msg/1080525/1741842/#msg_1741842
By default the installer creates an installation with a shared bundle pool. There's rather long thread with details in the Oomph forum:
So you have several options. One option is to install without a bundle pool; the menu has the control for that. Another option is to also find a good shared location for the bundle pool (and agent); it defaults a location in the user.home. The chosen location should be read-only to all other users. I.e., the installation folder and the pool/agent folders should all be writable only when running under sudo. This is what in the end directs Eclipse to detect that it's a shared installation.
]]>Ed Merks2016-08-30T06:41:39-00:00Re: Linux install for all users
https://www.eclipse.org/forums/index.php/mv/msg/1080525/1772136/#msg_1772136
So far, so good... fingers crossed!
]]>Patrick J Clemins2017-09-05T23:43:17-00:00