[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [Subclipse-users] Projects not staying under version control

From: Mark Phippard <markp_at_softlanding.com>
Date: 2006-09-27 17:38:31 CEST

Billy O'Connell <billy_oconnell@tanval.com> wrote on 09/27/2006 11:27:01
AM:

> Thanks for the reply. I am not having any luck finding a clear cut way
to
> switch Subclipse to use JavaHl instead of JavaSvn. I am getting failed
to
> load JavaHL library when I select the JavaHL interface.
>
> Is there any how to's you might know of on how to do this on a linux
(fedora) box?
>
> I installed subversion 1.4 and the javahl along with it. I now have my
svn-
> javahl.jar, which I put in my lib. path. I also unpacked the
org.tigris.
> subversion.subclipse.core_1.1.6.jar and added this svn-javahl.jar to the
lib
> directory.

You do not need to do anything to the JAR, and should undo anything that
you have done. The JAR is not terribly relevant and we ship the one that
you should use. The issue is the native libraries, the .so's. The issue
is that the JVM will not look for them in the location they reside in your
file system. There are several things you can do, any one of which will
solve it:

1) Create a symlink to the library in one of the places the JVM looks. I
believe our error message outputs this path.
2) Set the LD_LIBRARY_PATH variable in a script before starting Eclipse:

export LD_LIBRARY_PATH=/usr/local/lib:.
./eclipse

3) Start Eclipse using something like this:

./eclipse -vmargs -Djava.library.path=/usr/local/lib

I think you can set these settings in the eclipse.ini file as well.

NOTE: In the above, I do not know that /usr/local/lib is where your
library is stored. That is the default when building from source, but the
RPM's you used might have a different location. Debian systems are using
/usr/lib/jni for it now.

Mark

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@subclipse.tigris.org
For additional commands, e-mail: users-help@subclipse.tigris.org
Received on Wed Sep 27 17:39:37 2006

This is an archived mail posted to the Subclipse Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.