// article

Howtos

Use svn with Eclipse Galileo on Ubuntu 9.10

After wasting a lot of time myself, I thought this could serve some other people…

So here’s how I did it :

  • First install the Subclipse plugin
    1. Run sudo eclipse (that will install plugins system-wide)
    2. Eclipse > Install new software > Add
    3. Name = “whatever”
    4. Location = http://subclipse.tigris.org/update_1.6.x
    5. OK
    6. Work with: “whatever”
    7. Select these to install :
      • CollabNet Merge Client
      • Subclipse
      • Subclipse Integration for Mylyn 3.x
      • Subversion Client Adapter
      • Subversion JavaHL Native Library Adapter
      • Subversion Revision Graph
    8. If you get a “Subversion 1.6 contains a bug that causes Eclipse to crash …. GNOME keyring … we recommand … “, choose OK.
  • Next install the Java bindings for SVN
    1. sudo apt-get install libsvn-java
    2. Eclipse > Window > Preferences > Team > SVN
    3. If that triggers a “Failed to load JavaHL Library.” error, you need to add libsvnjavahl-1 in the Eclipse path :
    4. Just throw a symlink into one of the path in the error message :
    5. 1
      2
               sudo ln -s /usr/lib/jni/libsvnjavahl-1.so /usr/lib/libsvnjavahl-1.so
               sudo ln -s /usr/lib/jni/libsvnjavahl-1.so.0.0.0 /usr/lib/libsvnjavahl-1.so.0.0.0
    6. Restart eclipse and step 3 should be solved.
  • Perhaps you want to use SVN with existing checkout project ?
    1. Right-click on your project in Eclipse
    2. Team > Share Project > svn > Validate Conneciton on Finish > Finish
  • Screenshots of what you can do with Subclipse

 

Discussion

7 Responses to “Use svn with Eclipse Galileo on Ubuntu 9.10”

  1. Thanks much. It worked for me.

    Posted by Lee | September 7, 2010, 8:58 pm
  2. Thank you so much for this great tutorial! It just worked for me tho.

    Posted by Jonathan R | October 12, 2010, 8:58 pm
  3. Thanks after much searching online I finally managed to configure the Subclipse on Ubuntu 4.10 by the steps discussed here very well. Congratulations and thank you.

    Posted by Jose Luis Reyes c. | June 25, 2011, 9:01 pm
  4. Thanks a lot, It works !!!!

    Posted by Mohd Tareque Khan | June 25, 2011, 9:02 pm
  5. Thanks a lot! It worked for me. I’m using a 64 bits Kubuntu 10.04. Cheers

    Posted by Dviejo | June 25, 2011, 9:02 pm
  6. On Fedora Core 12, the package to install is : subversion-javahl

    Posted by David | June 25, 2011, 9:03 pm
  7. Thanks a lot! I had the error “Failed to load JavaHL Library.”, but step “sudo apt-get install libsvn-java” helped me.

    Posted by Oleg | June 25, 2011, 9:03 pm

Post a comment