Ubuntu9.0.4下安装SVN插件出错处理

转自:http://a3mao.iteye.com/blog/468762


最近在玩ubuntu,想在ubuntu下做开发,IDE当然首选EC了,可在升级安装svn插件后,在点“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 


goole很多资料都不能成功,大都是因为jar包冲突。偶然发现在https://launchpad.net/ubuntu/jaunty上有所需要的jar,就是两个包:libsvn1_1.5.4dfsg1-1ubuntu2.1_i386.deb 跟 libsvn-java_1.5.4dfsg1-1ubuntu2.1_i386.deb 。 
终端输入: 
引用

sudo dpkg -i libsvn1_1.5.4dfsg1-1ubuntu2.1_i386.deb 


引用

sudo dpkg -i libsvn-java_1.5.4dfsg1-1ubuntu2.1_i386.deb 


安装上述两个包即可。

你可能感兴趣的:(Ubuntu9.0.4下安装SVN插件出错处理)