Installing Subversion JavaHL library in Mac OS X
Asked Answered
L

2

14

I installed Subclipse in Eclipse using Eclipse Marketplace. I keep on getting a pop window with the message

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

This is the link that is suggested to be visited. http://subclipse.tigris.org/wiki/JavaHL

Under Mac OS X I find a link to OpenCollabNet but I can't find binaries on that link, would much appreciate if someone could help me locate the link to binaries. And also is there a way to install Subversion JavaHL library via macports, if yes what is the command to do so.

Laxation answered 7/9, 2012 at 6:51 Comment(0)
C
12

Using SVNKit is a valid option, but I still prefer JavaHL. The volunteer that was providing OSX binaries hosted by CollabNet stopped making them, so they do not have a Subversion 1.7 version available, only 1.6.

I updated the Subclipse JavaHL wiki page. The page directs people to use MacPorts or HomeBrew. Those are the best options for getting JavaHL. I use MacPorts.

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

Cooky answered 7/9, 2012 at 13:34 Comment(0)
M
21

You can also switch to the pure-Java implementation via "Window -> Preferences -> Team -> SVN -> SVN inteface" and choose the entry with "SVNKit". This way you remove any dependency on native code and get rid of these errors. Eclipse Preferences

If you are missing the SVNKit-choice, verify if you have installed the plugin "SVNKit Client Adapter" from CollabNet! Install SVNKit Adapter

Marchese answered 7/9, 2012 at 7:49 Comment(0)
C
12

Using SVNKit is a valid option, but I still prefer JavaHL. The volunteer that was providing OSX binaries hosted by CollabNet stopped making them, so they do not have a Subversion 1.7 version available, only 1.6.

I updated the Subclipse JavaHL wiki page. The page directs people to use MacPorts or HomeBrew. Those are the best options for getting JavaHL. I use MacPorts.

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

Cooky answered 7/9, 2012 at 13:34 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.