JavaHL not working

I am trying to update a project from SVN (I have a new installation of eclipse, but this is an existing workspace), so I set the subtitle, but when I want to do something with SVN, I get error messages like:

Failed to load JavaHL Library.
These are the errors that were encountered:
no libsvnjavahl-1 in java.library.path
no svnjavahl-1 in java.library.path
no svnjavahl in java.library.path
java.library.path = .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java

or

Problems reported while synchronizing SVNStatusSubscriber. 0 of 1 resources were synchronized.
An error occurred synchronizing <Project name>: Error getting status for resource P<Project name> Unable to load default SVN Client
Error getting status for resource P<Project name> Unable to load default SVN Client
Unable to load default SVN Client

I am working on Mac OS X 10.6.8 with eclipse indigo 3.7.2.

Can someone help me make it work?

+5
source share
3 answers

The answer is described in detail on this Wiki page:

http://subclipse.tigris.org/wiki/JavaHL

You need to install your own Subversion libraries, including the JavaHL library. I would recommend using MacPorts or HomeBrew to get your own libraries.

+5
source

JavaHL? , svn .

0

, Subclipse JavaHL ( . http://subclipse.tigris.org/wiki/JavaHL).

JavaHL, -

$ strings /opt/local/lib/libsvnjavahl-1.a | fgrep svn:
svn:auth:username
svn:auth:password
svn:auth:config-dir
svn: 
svn:1.8.8 (r1568071)

​​ 1.8.8. Btw, , Subclipse 1.10.x.

, , /opt/local/lib MacPorts. , MacPorts /Library/Java/Extensions/libsvnjavahl.jnilib, java.library.path Eclipse STS.

, , -

STS --launcher.appendVmargs -vmargs -Djava.library.path=/opt/local/lib

, , java.library.path, ( 100% ) .

0
source