eclipse 64 位 Kubuntu 中 Subclipse 的不兼容 JavaHL 库
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/7876091/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Incompatible JavaHL library for Subclipse in 64 bit Kubuntu
提问by Martyn
I'm trying to get Subversion working under Eclipse 3.7 in a 64 bit Kubuntu 11.10 but having problems. I've installed subclipse 1.8.1, installed 'libsvn-java' and have added -Djava.library.path=/usr/lib/jni/
under the -vmargs
in the /usr/lib/eclipse/eclipse.ini
file, but now getting the error message:
我试图让 Subversion 在 Eclipse 3.7 下在 64 位 Kubuntu 11.10 下工作,但遇到了问题。我已经安装的Subclipse 1.8.1,安装“libsvn-java的”并增加-Djava.library.path=/usr/lib/jni/
下-vmargs
的在/usr/lib/eclipse/eclipse.ini
文件中,但现在收到错误信息:
Incompatible JavaHL library loaded. 1.7.x or later required.
and can't seem to find out how to upgrade my JavaHL. I've reinstalled the subclipse plugin, which apparently also installs JavaHL version 1.7.1, so perhaps this isn't a case of JavaHL not being installed, but perhaps unfindable? - Anyone with any ideas?
并且似乎无法找到如何升级我的 JavaHL。我已经重新安装了 subclipse 插件,它显然也安装了 JavaHL 版本 1.7.1,所以也许这不是没有安装 JavaHL 的情况,但也许找不到?- 有任何想法的人吗?
** EDIT **
** 编辑 **
As mentioned below the links provided in the accepted answer have stopped working, but you can download updated files here(credit to Rekhyt) but you will need subclipse version 1.8.x which you can install by adding http://subclipse.tigris.org/update_1.8.xto Eclipse
如下所述,接受的答案中提供的链接已停止工作,但您可以在此处下载更新的文件(归功于 Rekhyt),但您需要 subclipse 1.8.x 版,您可以通过添加http://subclipse.tigris.org来安装/update_1.8.x到 Eclipse
I installed subclipse 1.8 first then installed these files in order:
我先安装了 subclipse 1.8,然后按顺序安装了这些文件:
- libsvn-java_1.7.2-0ubuntu0~ppa1_amd64.deb
- subversion_1.7.2-0ubuntu0~ppa1_amd64.deb
- libsvn1_1.7.2-0ubuntu0~ppa1_amd64.deb
- libsvn-java_1.7.2-0ubuntu0~ppa1_amd64.deb
- subversion_1.7.2-0ubuntu0~ppa1_amd64.deb
- libsvn1_1.7.2-0ubuntu0~ppa1_amd64.deb
If you need 32 bit go to the launchpad pageand click the 'subversion - 1.7.2-0ubuntu0~ppa1' link at the bottom of the page - this will bring up all the relevant files
如果您需要 32 位,请转到启动板页面并单击页面底部的“subversion - 1.7.2-0ubuntu0~ppa1”链接 - 这将显示所有相关文件
采纳答案by baybora.oren
Because of that
正因为如此
First of all I had to uninstall the old packages before installing the new ones (thanks to Sergi)
首先,我必须在安装新软件包之前卸载旧软件包(感谢Sergi)
for i386
对于 i386
- go to here
- install in order geb packages
- libsvn1_1.7.1-0ubuntu0~ppa4_i386.deb (979.2 KiB)
- subversion_1.7.1-0ubuntu0~ppa4_i386.deb (1.2 MiB)
- libsvn-java_1.7.1-0ubuntu0~ppa4_i386.deb
- 到这里
- 按顺序安装geb包
- libsvn1_1.7.1-0ubuntu0~ppa4_i386.deb (979.2 KiB)
- subversion_1.7.1-0ubuntu0~ppa4_i386.deb (1.2 MiB)
- libsvn-java_1.7.1-0ubuntu0~ppa4_i386.deb
for amd64
对于 amd64
- go to here
- install in order geb packages
- libsvn1_1.7.1-0ubuntu0~ppa4_amd64.deb (1.0 MiB)
- subversion_1.7.1-0ubuntu0~ppa4_amd64.deb (1.2 MiB)
- libsvn-java_1.7.1-0ubuntu0~ppa4_amd64.deb (446.7 KiB)
- 到这里
- 按顺序安装geb包
- libsvn1_1.7.1-0ubuntu0~ppa4_amd64.deb (1.0 MiB)
- subversion_1.7.1-0ubuntu0~ppa4_amd64.deb (1.2 MiB)
- libsvn-java_1.7.1-0ubuntu0~ppa4_amd64.deb (446.7 KiB)
it worked for me.
它对我有用。
回答by Anonymous
Alternatively, you may do the following, which automates the package installation:
或者,您可以执行以下操作,自动安装包:
apt-add-repository ppa:dominik-stadler/subversion-1.7
apt-get update
apt-get dist-upgrade
回答by Gabor
Sadly, I can't comment yet (or I don't understand how this site works :-)), but maybe Dave Shuckinterested in it: if you change the dependencies of the .deb package, and remove the libserf-private everything works fine. Easiest to do that with this script: videbcontrol
遗憾的是,我还不能发表评论(或者我不明白这个网站是如何运作的 :-)),但也许Dave Shuck对它感兴趣:如果你改变了 .deb 包的依赖关系,并删除了 libserf-private 的一切工作正常。使用此脚本最容易做到这一点: videbcontrol
回答by Rekhyt
Since I cannot comment yet and my edit has been rejected:
由于我还不能发表评论并且我的编辑已被拒绝:
I stumbled across the same problem. The repositories of Xubuntu 10.11 are out of date. Packages can be found at thislocation. Proceed according to javaloper's posting.
我偶然发现了同样的问题。Xubuntu 10.11 的存储库已过时。可以在这个位置找到包。根据 javaloper 的帖子进行操作。