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

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

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

Hi There-

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/"

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!

-troy
Received on 2008-09-09 21:02:57 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.