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即可。