Eclipse安装subclipse出现"Failed to load JavaHL Library"错误

这是由于svn的JavaHL(lib)没有安装。

如下安装:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
sudo apt-get install libsvn-java
sudo apt-get install libsvn-java
sudo apt-get install libsvn-java

安装之后,被放在了/usr/lib/jni下面,这是Eclipse默认无法读取的。

修改eclipse.ini

添加下面内容:

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
-Djava.library.path=/usr/lib/jni
-Djava.library.path=/usr/lib/jni
-Djava.library.path=/usr/lib/jni

 

Leave a Reply

Your email address will not be published. Required fields are marked *