Getting Subclipse to Work in Gandymede (Eclipse 3.4)

August 21st, 2008 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!

26 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. Excellent blog entry! Just what I needed – thank you :)

  4. Ralf says:

    Thank you for this hint, works fine!

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

  12. [...]  http://blog.smartlogicsolutions.com/2008/08/21/getting-subclipse-to-work-in-gandymede-eclipse-… [...]

  13. Rakesh.R says:

    GOod ;-) helped me , thank U :)

  14. jason purdy says:

    MUCHO THANKO! exactly what i needed.

  15. dCdC says:

    collabnet is a pile of crap, REQUIRES registration and after filling out every field gives a nice fat “servlet error”.

  16. kishore sudha says:

    Thanks for posting thihelpful hint. It took a while to figure out that my plug didn’t install properly. and ended up finding the fix with your post.

  17. WaNdErSoN says:

    Thanks for help…

    :)

  18. chrismarx says:

    thank you!!!!! i as well just installed all the components, and then everything worked-

  19. belgarath says:

    Awesome,
    had the same problem here. Now i solved.

    THX

  20. lopol says:

    Fixed my problem. Thanks!

  21. igravious says:

    Thanks,

    Funny thing is that prior to Ganymede I never had a problem with subclipse. I have a total love/hate relationship with Eclipse.

    Thanks again.

  22. Matt C says:

    What would save people even more time is — if Ganymede subclipse doesn’t work without JavaHL — maybe having it be “Required”.

    Right now it’s “Strongly Recommended”. lol. If they really didn’t want to make people angry by “Requiring” stuff, it could say, maybe:

    “JavaHL — [Recommended]. Makes subclipse work.”

  23. Craig Jackson says:

    Ganymede is a dumb name. Who came up with that anyway?

  24. sine says:

    Craig
    Err… the Greeks. G. was a trojan prince who was so cute he was abducted by Zeus(Jupiter) to ’serve’ (sic) the Gods.
    Plus its Jupiter’s largest moon, named Ganymede by Gallileo: c.f. Eclipse.

  25. linda octa says:

    Thanks! this is helpful :)
    Just wondering why subclipse doesnot include svnkit during installation. It’s written there “not required”

    :)
    linda

Leave a Reply

Greg Jastrab joined SmartLogic Solutions in June 2006. He is now the Technical Project Manager and oversees all Flash/Flex/AIR development. Follow @gjastrab on twitter

Greg Jastrab's posts