During the installation of the Subclipse SVN plugin for Eclipse Luna on my Ubuntu 15.04, I ran into problems installing the JavaHL SVN interface. (Failed to load JavaHL library)
According to Subclipse' FAQ about JavaHL troubleshooting for Linux you have to add the following line to your eclipse.ini
-Djava.library.path=</path/to/library>
In my case the path is /usr/lib/x86_64-linux-gnu/jni
While this solves the original problem it potentially creates new ones since it overwrites whatever there is in java.library.path
(in my case /usr/java/packages/lib/amd64:/usr/lib64:/lib64:/lib:/usr/lib
).
So my question is what to write into eclipse.ini
instead, to prepend the old state of java.library.path
by an additional path.
N.b.: I don't know how the java library path is imputed nor do I want to know. I also don't want to hard code the final value.