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


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM