Ubuntu 11.10下安装Eclipse插件SVN出现Failed to load JavaHL Library的解决方法

How to solve the “Failed to load JavaHL Library.” problem in Mac OS X when running Aptana (Eclipse).

Failed to load JavaHL Library.
These are the errors that were encountered:
no libsvnjavahl-1 in java.library.path
no svnjavahl-1 in java.library.path
no svnjavahl in java.library.path
java.library.path = .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java

安装javahl类库 sudo apt-get install libsvn-java

修改eclipse.ini配置文件, 增加-Djava.library.path=/usr/lib/jni

我的Eclipse是免安装版本的,不知道为什么不起作用拉。

我是通过下面的方法解决的:

在Eclipse里面Preferences > Team > SVN > change the SVN interface to SVNKit (PureJava).

之后重启Eclipse即可。

你可能感兴趣的:(Ubuntu 11.10下安装Eclipse插件SVN出现Failed to load JavaHL Library的解决方法)