Getting subclipse to work on Ubuntu 64 and Indigo - Incompatible JavaHL library loaded. 1.7.x or later required

前端 未结 6 2103
盖世英雄少女心
盖世英雄少女心 2021-02-02 15:39

How do I fix this?

I am on ubuntu 64 using Eclipse indigo. I installed http://subclipse.tigris.org/update_1.8.x.

At first I got this error:

6条回答
  •  梦毁少年i
    2021-02-02 15:52

    Remove your existing libsvn-java:

    sudo apt-get purge libsvn-java
    

    Then, add the following software source and re-install:

    sudo add-apt-repository ppa:dominik-stadler/subversion-1.7
    sudo apt-get update
    sudo apt-get install libsvn-java
    

    (found here)

    thanks to @codemonkeybr: also update your eclipse.ini with -Djava.library.path=/usr/lib/jni

    (or /usr/lib/x86_64-linux-gnu/jni or /usr/lib/i386-linux-gnu/jni depending on your system ...)

    Update for Ubuntu 14 use Subversion 1.8 instead:

    sudo add-apt-repository ppa:dominik-stadler/subversion-1.8
    

提交回复
热议问题