Eclipse3.5 SR2 Subclipse插件错误的问题解决

今天升级到了Ubuntu10.04和Eclipse3.5 SR2,安装Subclipse之后一旦使用svn就提示错误

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 = /usr/lib/jvm/java-6-sun-1.6.0.03/jre/lib/i386/client::/
usr/lib/jvm/java-6-sun-1.6.0.03/jre/lib/i386::/usr/lib/firefox:/usr/lib/
firefox/:/usr/java/packages/lib/i386:/lib:/usr/lib

 在升级前一直没有出现过这样的问题,Google了一些资料整理解决方法如下:

 

 首先安装缺省库

sudo apt-get install libsvn-java

 但是安装完成的libsvnjavahl-1.so所在位置并不是/usr/lib/而是/usr/lib/jni/,所以需要执行

ln -s /usr/lib/jni/libsvnjavahl-1.so /usr/lib/libsvnjavahl-1.so
 

你可能感兴趣的:(java,SVN,MyEclipse,jni,firefox)