[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: Mark Phippard <markphip_at_gmail.com>
Date: Tue, 9 Sep 2008 15:06:09 -0400

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/
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_subclipse.tigris.org
For additional commands, e-mail: users-help_at_subclipse.tigris.org
Received on 2008-09-09 21:06:27 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.