Member of
Techlipse.com

 

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:

  1. Make sure libsvn-java, subversion and libsvn1 packages are installed
  2. Add following to the end of your eclipse.ini file: -Djava.library.path=/usr/lib/jni
  3. 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

Share:
  • del.icio.us
  • digg
  • Reddit
Thursday, January 10, 4:04 pm

2 Comments »

  1. 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

  2. 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

RSS feed for comments on this post.

Leave a comment

XHTML ( You can use these tags): <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> .