Eclipse – svn for eclipse on mac os lion

eclipsemacossubclipsesubversivesvn

I need to use Subversion with Eclipse on Mac Lion. I encounter problem as below

I saw: Subclipse in Mac OS Lion shows "Unable to load default SVN client" error

In my context:

  • I use Mac OS Lion 10.7.2
  • Eclipse version: 3.7.1 64 bit
  • I install Subversion: Universal Subversion 1.6.17 Binaries for Lion (Mac OS X 10.7) in the page: http://www.open.collab.net/downloads/community/
  • I install Subclipse by the "Install New Software…" feature of Eclipse with the update link: http://subclipse.tigris.org/update_1.8.x
    It install Subclipse 1.8.2, JavaHL 1.7.1.1 and some other packages.
  • When I go to menu Preferences/ Team / SVN , it produce error: "Incompatible JavaHL library loaded. 1.7.x or later required."
  • I find to install SVN Kit, so use it instead of JavaHL as the very first link refer (here), but I don't see it in Subclipse package.

Best Answer

The issue is that you need the right native Subversion libraries for the version of Subclipse you use. This page has information and a chart of the versions:

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

The binaries on CollabNet website are still for SVN 1.6 so you either need to get SVN 1.7 binaries (MacPorts and Homebrew are good places to get it) or you need to use Subclipse 1.6.x.