After updating to Snow Lion I started receiving these errors in Flash Builder when trying to use SVN:

Failed to load JavaHL Library.
These are the errors that were encountered:
no libsvnjavahl-1 in java.library.path
/opt/subversion/lib/libsvnjavahl-1.0.dylib:  Library not loaded: /usr/lib/libpq.5.dylib   Referenced from: /opt/subversion/lib/libsvnjavahl-1.0.dylib   Reason: no suitable image found.  Did find:  /usr/lib/libpq.5.dylib: mach-o, but wrong architecture  /usr/lib/libpq.5.dylib: mach-o, but wrong architecture
no svnjavahl in java.library.path
java.library.path = .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
share|improve this question
2 
It sounds like this would relate to Eclipse and the SVN client you're using; not necessarily Flash Builder. – Reboog711 Aug 2 '12 at 2:00
1 
That sounds right. I'm using subclipse. I'll update the tags. Thanks –  1.21 gigawatts Aug 2 '12 at 6:58
add comment

If you do not need to use JavaHL, Subclipse also provides a pure-Java SVN API library -- SVNKit (http://svnkit.com). Just install the SVNKit client adapter and library plugins from the Subclipse update site and then choose it in the preferences under Team > SVN.

share|improve this answer
 
Weird, on a hunch I just checked preferences and SVNKit was already there. This only happened on rare occasion (I'm not working in an SVN-backed project at the moment) so can't say that it worked. I really hope it does. When this does happen it locks up Eclipse until the search (?) finishes or the connect (?) times out after about a minute. Really annoying when you've got a big sprint and little time... –  William T. Mallard Nov 23 '13 at 17:37
 
so, javaHL it's not working on STS? –  Fred Dec 3 '13 at 8:52
 
The version of the Eclipse IDE being used would have nothing to do with JavaHL working or not working.subclipse.tigris.org/wiki/JavaHL –  Mark Phippard Dec 3 '13 at 14:52
add comment

Go to Eclipse > Preferences > Team > SVN Under "SVN interface", choose client as "SVNKit(Pure Java) SVNKit v..xx". Worked for me.

share|improve this answer
2 
Thanks, that solved the problem and it's faster than unistalling the JavaHL plugin! – Carlos Alberto Martínez Gadea Feb 12 '13 at 18:10





처 - http://stackoverflow.com/questions/11769989/failed-to-load-javahl-library






Posted by linuxism
,