2010
04.06

Are you experiencing problems with the Subclipse plugin for eclipse? Well, I am too. The solution however, is pretty straighforward.

I’m usingĀ  a custom eclipse installation. The ubuntu repositories package is too old, so I always update my eclipse installation from the eclipse website. I install it to /opt/eclipse. If you’re using the default installation package, just look for yor install forlder, probably somewhere near /usr/share.

Now, I assume you installed the subclipse plugin, a nice SVN client. This client uses JavaHL libraries to communicate to the svn program istelf, andĀ  unfortunately, this libraries installation is up to you. If you do not have them, subclipse will complain about missing libraries each time you need to do somthing svn-related. So, to fix if:

  1. Install the javaHL libraries:
    sudo apt-get install libsvn-java
  2. Tell eclipse where to look for them. Edit the file /opt/eclipse/eclipse.ini (or /your-eclipse-path/eclipse.ini), and locate the line:
    -vmargs
    Now just below this line, add the following one:
    -Djava.library.path=/usr/lib/jni
  3. Happy coding!.

No Comment.

Add Your Comment