-
Notifications
You must be signed in to change notification settings - Fork 10
Description
On my Eclipse 2020-06 installed with flatpak I added Subclipse: https://github.com/subclipse/subclipse
This SVN plugin can use native JavaHL libraries installed on the local machine to provide SVN functionality.
In order to properly do this with my Linux Mint 18.3 (based on Ubuntu 16.04) I need to install WANdisco's libraries, because otherwise the JavaHL version provided by Ubuntu is too old, see: https://github.com/subclipse/subclipse/wiki/JavaHL-on-Linux
WANdisco's libraries are installed at /usr/lib/jni, which is not among the default paths checked by Subclipse. So, as documented in Subclipse's wiki, I have to add the following VM arg to eclipse.ini: -Djava.library.path=/usr/lib/jni.
Right now I'm changing /var/lib/flatpak/app/org.eclipse.Java/current/active/files/eclipse/eclipse.ini directly, although I'm not sure it's the best way to do this (see #14). Nevertheless, the change is correctly taken by Eclipse, but yet Subclipse says it can't find JavaHL libraries in /usr/lib/jni. Thinking about this a bit, I suspect it's due to the flatpak application being sandboxed.
So, how to fix this, if at all possible? Thanks.