Getting Subclipse to Work in Gandymede (Eclipse 3.4)

This post was written by Greg Jastrab. Read other posts by Greg Jastrab.

I just upgraded Eclipse to 3.4 (Gandymede) since the latest upgrade to Flex Builder included support for Gandymede. I did my typical install by extracting the Gandymede tarball and then installed Subclipse through the Software updates (now in Help -> Software Updates…).

It looked like everything installed okay but then when I tried to do an update in an existing project I got an error:

"Unable to load default SVN Client"

The key is to include the SVNKit Adapter JavaHL Adapter when you install Subclipse:

Include JavaHL when installing Subclipse.

Include JavaHL when installing Subclipse.

Hope that saves some people some time.

NOTE: Thanks to Mark for pointing out the recommended usage of JavaHL instead of SVNKit!

About the author: Greg Jastrab joined SmartLogic Solutions in June 2006 and leads all Flash/Flex/AIR development. Follow @gjastrab on twitter

Tags: , , ,

11 Responses to “Getting Subclipse to Work in Gandymede (Eclipse 3.4)”

  1. Mark Phippard Says:

    It is actually better/preferred to use JavaHL. However, JavaHL uses the native Subversion libraries so you need to have them installed. For OSX, you can easily get them by simply installing the Subversion package for OSX that CollabNet provides.

    There is an FAQ I am working on here:

    http://desktop-eclipse.open.collab.net/wiki/JavaHL

  2. Greg Jastrab Says:

    Thanks Mark, I updated the post to reflect this recommendation.

  3. Nicky Moelholm Says:

    Excellent blog entry! Just what I needed - thank you :)

  4. Ralf Says:

    Thank you for this hint, works fine!

  5. tony petruzzi Says:

    you are a god. thank you. i’ve been fighting with this error for the past 3 hours.

  6. Darren Says:

    I found you need both in order for it to work for me.. SVNKit Adapter and JavaHL but i am using myeclipse as well..

  7. Chris Says:

    Nice! I installed JavaHL and now Subclipse works like a charm. Thanks for the tip.

  8. Mark Says:

    FWIW, I had the same issue on Eclipse 3.3. I use Tortoise for non-Eclipse SVN integration, and Subclipse within Eclipse. After I updated Tortoise from 1.4.x to 1.5.4, Subclipse started complaining about incorrect client versions. I updated Subclipse, but continued getting the errors. Installing the JavaHL fixed it all a treat!

    All very odd, as I haven’t updated my SVN server at all. I’m surprised that Subclipse can get broken by upgrading Tortoise.

  9. Steve Mac Says:

    Thanks for the heads up.
    Funny how simple changes can be complex by poor error messages.

  10. Greg Jastrab Says:

    Wow, someone in the office just pointed out that it’s Ganymede not Gandymede.

  11. Ed Kimber Says:

    I spent a couple of hours trying to get this to work, compiling all of the subversion and javahl myself because there isn’t a binary package for Ubuntu. It still didn’t help so instead of faffing about with mysterious library paths I just installed SVNKit in 5 minutes. So much for the ‘recommended’ option.

Leave a Reply