Configuring Eclipse SVN (Subclipse) to use JavaHL(JNI)
Configuring JavaHL for Eclipse is not as straightforward as it could be so posting a quick HOWTO. Following applies mostly to Linux users.
With Ubuntu the fool-proof steps are:
- Make sure libsvn-java, subversion and libsvn1 packages are installed
- Add following to the end of your eclipse.ini file: -Djava.library.path=/usr/lib/jni
- Restart eclipse and make sure JavaHL is selected under Window->Preferences->Team->SVN
By using JavaHL it gets more likely that your svn repo doesn’t get screwed up when using both command-line/shell and subclipse for svn.

Configuring Eclipse to use native SVN client - JavaHL
Thursday, January 10, 4:04 pm
2 Comments »
RSS feed for comments on this post.






I had forgotten about this procedure, but thankfully you documented it here. :-)
Thanks.
Comment by Giuliano Mega — February 5, 2008 @ Tuesday, February 5, 2:27 am
Thanks. You would think subclipse could give a more informative error message than the “unable to load default svn client” I was getting. This fixed it for me.
Comment by Kevin Peterson — May 10, 2009 @ Sunday, May 10, 9:07 pm