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

Re: [Subclipse-users] JavaHL (JNI) Not Available - On Mac OS X

From: Troy Daley <tfandango_at_gmail.com>
Date: Tue, 9 Sep 2008 14:27:10 -0500

Thanks for the very quick reply. I tried the path without the trailing
slash, and that made no difference. Also, the result of the ls command is
as such:

tdaley-mbp:~ tdaley$ ls -l /Library/Java/Extensions
total 8
lrwxr-xr-x 1 root admin 35 Sep 9 13:20 libsvnjavahl.jnilib ->
/opt/local/lib/libsvnjavahl-1.dylib

Which I believe looks correct.

-troy

On Tue, Sep 9, 2008 at 2:06 PM, Mark Phippard <markphip_at_gmail.com> wrote:

> On Tue, Sep 9, 2008 at 3:00 PM, Troy Daley <tfandango_at_gmail.com> wrote:
>
> > I've recently upgraded several items (both subversion and
> > subversion-javahlbindings via macports, as well as Subclipse). I'm not
> > unable to use the native bindings to subversion and fall back to SVNKit.
> > I've tried debugging this but I'm unable to find any log messages or
> errors
> > anywhere that might help me diagnose this. The best I can do is try to
> > verify that everything is in the correct place, and to those ends, here
> is
> > what I currently have set up.
> >
> > Eclipse version:
> > Version: 3.4.0
> > Build id: I20080617-2000
> >
> > Subclipse version:
> > Subclipse Documentation 1.3.0
> > Subversion Client Adapter 1.5.1
> > Subversion JavaHL 1.5.2
> > SVN Team Provider Core 1.4.3
> > SVN Team Provider UI 1.4.4
> > SVNKit Client Adapter 1.5.1.1
> > SVNKit Library Plugin 1.2.0.4710
> >
> > Subversion information (via MacPorts):
> > subversion @1.5.2_1 (active)
> > subversion-javahlbindings @1.5.2_0 (active)
> >
> > I've set up eclipse to have the correct library path using this line in
> the
> > eclipse.ini:
> > -Djava.library.path="/opt/local/lib/"
>
> I do not know if it will make a difference, but remove the "" and the
> trailing /
>
> -Djava.library.path=/opt/local/lib
>
> > and I've verified that the following libraries exist in /opt/local/lib/
> > -rwxr-xr-x 2 root admin 251244 Sep 9 11:13
> libsvnjavahl-1.0.0.0.dylib
> > lrwxr-xr-x 1 root admin 26 Sep 9 13:20 libsvnjavahl-1.0.dylib
> ->
> > libsvnjavahl-1.0.0.0.dylib
> > -rw-r--r-- 2 root admin 459380 Sep 9 11:13 libsvnjavahl-1.a
> > lrwxr-xr-x 1 root admin 26 Sep 9 13:20 libsvnjavahl-1.dylib ->
> > libsvnjavahl-1.0.0.0.dylib
> > -rwxr-xr-x 2 root admin 1753 Sep 9 11:13 libsvnjavahl-1.la
> >
> > If anyone could suggest some further steps to diagnose this, I would be
> > truly grateful. Thanks a lot!
>
> Also try:
>
> $ ls -l /Library/Java/Extensions
>
> Just to be sure there is nothing in there mucking things up. Normally
> MacPorts will have a symlink to the right lib (which also removes the
> need to edit eclipse.ini
>
> --
> Thanks
>
> Mark Phippard
> http://markphip.blogspot.com/
>
Received on 2008-09-09 21:27:22 CEST

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.