1、首先安装部分和在Windows下没有什么不同:
subclipse网址:http://subclipse.tigris.org/servlets/ProjectProcess?pageID=p4wYuA
在此特别强调本人写此文时,subclipse的最新版本是1.8.x,但此时最好选1.6.x版本下载,原因后面会说。
2、安装完后会出现下列两个问题
(1)缺少JavaHL库,这个问题一般的话在windows上安装不会出现
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
不过这个问题比较明显,只要安装下JavaHL库就行了
安装命令为:sudo apt-get install libsvn-java
安装完后还要更改下eclipse的配置文件
打开eclipse.ini文件,在-vmargs下添加以下两行内容:
-Djava.library.path=/usr/share/java/
-Djava.library.path=/usr/lib/x86_64-linux-gnu/jni/
需要说明的是第二行是64位系统的库位置,如果是32位的话,位置为/usr/lib/i386-linux-gnu/jni/
更改完后,重启eclipse应该就可以了。
(2)JavaHL库版本和subeclipse版本不一致
Ubuntu Incompatible JavaHL library loaded. 1.7.x or later required
如果安装的subclipse的版本为1.8.x的话,那么需要的JavaHL库的版本必须是1.7.x以上,但是通过apt-get install svnlib-java命令默认安装的版本是1.6.x,这就是为什么lz一开始没有选择最新的1.8.x版本的subclipse安装,而是选择了1.6.x版本的原因。
有三种解决方案:
1)卸载1.8.x版本的subclipse,重新安装1.6.x版本,卸载eclipse的插件可以通过Help->About Eclipse->Installation Details
2)将eclipse里面SVN选项中的SVN接口的Client改成SVNKit,同样可以继续使用,SVNKit并没有使用JavaHL库
3)安装1.7.x版本的JavaHL库,方法可以参考
http://www.linuxidc.com/Linux/2013-01/78713.htm,但由于有点繁琐,所以本人也没有尝试,正确性不得而知
到此为止,SVN插件应该就可以轻松使用了。
更多Ubuntu相关信息见Ubuntu 专题页面
http://www.linuxidc.com/topicnews.aspx?tid=2
转自:http://www.linuxidc.com/Linux/2013-01/78714.htm
安装1.7版本的
sudo add-apt-repository ppa:dominik-stadler/subversion-1.7
sudo apt-get update
sudo apt-get install libsvn-java
修改eclipse.ini文件,添加下面内容:
-Djava.library.path=/usr/lib/jni
参考链接:
http://www.blogchen.com/archives/587.html
http://rolyers.appspot.com/?p=98001
分享到:
相关推荐
format ' x' invalid or incompatible with argument 解决办法
问题:INSTALL_FAILED_SHARED_USER_INCOMPATIBLE 解决:android:sharedUserId="android.uid.system" <uses-permission android:name="android.permission.FORCE_STOP_PACKAGES"/>
protel.99 format '%x' invalid or incompatible with argument打软体报错补丁
Failure [INSTALL_FAILED_CPU_ABI_INCOMPATIBLE]异常处理
唯一解决 Protel 99 SE 'Format '%x' invalid or incompatible with argument' 的方法 4核的电脑
解决protel 99 出现 format ' x' invalid or incompatible with argument这个错误时的解决方法
网站开发课件,主要内容包括网站数据库的连接以及基本的基本界面设计
The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under ...
解决:protel 99se :format %x invalid or incompatible with argument问
Virtual PC在PAE模式下无法运行解决办法
The "Library", below, refers to any such software library or work which has been distributed under these terms. A "work based on the Library" means either the Library or any derivative work under ...
TypeError: _queue_reduction(): incompatible function arguments. The following argument types are supported: 1. (process_group: torch.distributed.ProcessGroup, grads_batch: List[List[at::Tensor]], ...
Protel99SE解决PCB打开Format '%x'问题, 完美解决,本人亲自测试 好用 Protel99SE
the GNU Library General Public License instead.) You can apply it to your programs, too. When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are ...
eclipse编译出来的apk,安装时报出INSTALL_FAILED_SHARED_USER_INCOMPATIBLE的错误。 原因:apk的AndroidManifest.xml中声明了android:sharedUserId="android.uid.system",但没有相应的签名 解决方案: 1. 找到编译...
7)....Fixed: (x64 only) Possible crash when using DLL compiled in IDE with incompatible TObject 8)....Fixed: (Low-level CreateThread hook) Possible crash in applications using DLL which changes SSE/...
一、TypeError: _resolve_type_from_object(): incompatible function arguments. The following argument types are supported: 1. (arg0: object, arg1: torch._C._jit_tree_views.SourceRange, arg2: Callable[...
java.io.InvalidClassException local class incompatible 序列化的对象需要ID号,故需要手动指定ID号。
我们在日常学习或者使用docker的时候可能会遇到下载安装镜像速度慢的问题,这里我们就得添加以下中国的阿里云镜像就会速度加快 添加阿里云镜像 阿里云网站 按照命令即可,也可以手动创建/ect/docker/daemon.json来用...
QGIS 2.x 和QGis 3.x api 差异,大家可以下载下来看一下,能解决大部分问题,也可以访问https://qgis.org/api/api_break.html查看在线的文档