I hadn't thought of that, but I still prefer my method, as the other two
can affect other projects, whereas my way is very specific to subclipse.
To try to answer your other question, a better question is why java
cannot find the libsvnjavahl.so when it is in the normal place for Linux
to look for so's. The reason the libsvnjavahl.so can find its
dependencies is because it uses the standard Linux load library
mechanism, which looks wherever ldconfig tells it to look, usually /lib
and /usr/lib, and occasionally /usr/local/lb. This is configured in
However if you put the libsvnjavahl.so in any of those places Java will not
find it unless you explicitly set java.library.path which is kind of
I cannot find anything that documents Eclipses behavior of being able to
load JNI's when put in the plugins directory, but I'm sure it is
On Sun, 22 May 2005 20:48:45 -0400
Mark Phippard <MarkP@softlanding.com> wrote:
MarkP> > You can also copy the libsvnjavahl.so file to
MarkP> > eclipse/plugins/org.tigris.subversion.subclipse.core_0.9.30 this worked
MarkP> > for me and IMHO is more convenient than setting
MarkP> > -Djava.library.path=/usr/local/lib or setting LD_LIBRARY_PATH (which may
MarkP> > affect other things).
MarkP> The problem with your approach is that every time you install a new release
MarkP> of Subclipse, which has been about every 4-6 weeks, you have to remember to
MarkP> do this step.
MarkP> I have another question for someone who understands this stuff (library
MarkP> loading). Why does the above method work? I understand why it can now
MarkP> find the JavaHL library, but when it loads it, why is the JavaHL library
MarkP> then able to find and load all of its dependencies? On Windows, if you
MarkP> only copied the main library and not all of the dependencies, it would fail
MarkP> unless those dependencies were on the PATH.
MarkP> Just curious.
MarkP> Scanned for SoftLanding Systems, Inc. by IBM Email Security Management Services powered by MessageLabs.
MarkP> To unsubscribe, e-mail: email@example.com
MarkP> For additional commands, e-mail: firstname.lastname@example.org
Jim Morris email@example.com
Received on Mon May 23 12:11:59 2005