yanzhiying95599 发表于 2013-1-15 13:33:41

ubuntu 下安装 eclipse svn插件报错

ubuntu下的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
 
参考:http://mushiqianmeng.iteye.com/blog/857786
安装了 java hl
 
apt-get install libsvn-java
 
然后修改 eclipse.ini,加入下面的一行:
 
-Djava.library.path=/usr/lib/jni 
 
OK
 
JavaHL是做什么的?
svn是用c语言写的,而eclipse及其插件都是java语言写的,简单来说,JavaHL就是沟通java和C语言的。
JavaHL is a "High Level" API and is provided with custom written C++ code to serve as the JNI bridge between Java code and the native libraries.
 
页: [1]
查看完整版本: ubuntu 下安装 eclipse svn插件报错