64 位 Kubuntu 中 Subclipse 的 JavaHL 库不兼容

发布于 2024-12-11 14:22:00 字数 1665 浏览 0 评论 0 原文

我试图让 Subversion 在 64 位 Kubuntu 11.10 的 Eclipse 3.7 下工作,但遇到问题。我已经安装了 subclipse 1.8.1,安装了“libsvn-java”,并在 -vmargs 下添加了 -Djava.library.path=/usr/lib/jni//usr/lib/eclipse/eclipse.ini 文件中,但现在收到错误消息:

Incompatible JavaHL library loaded.  1.7.x or later required.

并且似乎无法找出如何升级我的 JavaHL。我已经重新安装了 subclipse 插件,它显然也安装了 JavaHL 版本 1.7.1,所以也许这不是 JavaHL 未安装的情况,但可能找不到? - 有人有什么想法吗?

** 编辑 **

如下所述,接受的答案中提供的链接已停止工作,但您可以 在此处下载更新的文件(归功于 Rekhyt),但您需要 subclipse 版本 1.8.x,您可以通过添加 http://subclipse.tigris.org/update_1.8.x 来安装Eclipse

我首先安装了 subclipse 1.8,然后按顺序安装了这些文件:

  1. libsvn-java_1.7.2-0ubuntu0~ ppa1_amd64.deb
  2. subversion_1.7.2-0ubuntu0~ppa1_amd64。德布
  3. libsvn1_1.7.2-0ubuntu0~ ppa1_amd64.deb

如果你需要32位转到启动板页面然后单击页面底部的“subversion - 1.7.2-0ubuntu0~ppa1”链接 - 这将显示所有相关文件

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:

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?

** 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.x to Eclipse

I installed subclipse 1.8 first then installed these files in order:

  1. libsvn-java_1.7.2-0ubuntu0~ppa1_amd64.deb
  2. subversion_1.7.2-0ubuntu0~ppa1_amd64.deb
  3. libsvn1_1.7.2-0ubuntu0~ppa1_amd64.deb

If you need 32 bit go to the launchpad page and click the 'subversion - 1.7.2-0ubuntu0~ppa1' link at the bottom of the page - this will bring up all the relevant files

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(5

伴我心暖 2024-12-18 14:22:00

或者,您可以执行以下操作,自动安装软件包:

apt-add-repository ppa:dominik-stadler/subversion-1.7

apt-get update

apt-get dist-upgrade

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
千紇 2024-12-18 14:22:00

Because of that

First of all I had to uninstall the old packages before installing the new ones (thanks to Sergi)

for i386

  1. go to here
  2. install in order geb packages
  3. libsvn1_1.7.1-0ubuntu0~ppa4_i386.deb (979.2 KiB)
  4. subversion_1.7.1-0ubuntu0~ppa4_i386.deb (1.2 MiB)
  5. libsvn-java_1.7.1-0ubuntu0~ppa4_i386.deb

for amd64

  1. go to here
  2. install in order geb packages
  3. libsvn1_1.7.1-0ubuntu0~ppa4_amd64.deb (1.0 MiB)
  4. subversion_1.7.1-0ubuntu0~ppa4_amd64.deb (1.2 MiB)
  5. libsvn-java_1.7.1-0ubuntu0~ppa4_amd64.deb (446.7 KiB)

it worked for me.

我不在是我 2024-12-18 14:22:00

遗憾的是,我还不能发表评论(或者我不明白这个网站是如何工作的:-)),但也许 Dave Shuck 对此感兴趣:如果您更改 .deb 包的依赖项,并删除 libserf-private ,一切都会正常工作。使用此脚本最容易做到这一点: videbcontrol

Sadly, I can't comment yet (or I don't understand how this site works :-)), but maybe Dave Shuck interested 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

桃气十足 2024-12-18 14:22:00

由于我还无法发表评论,并且我的编辑已被拒绝:

我偶然发现了同样的问题。 Xubuntu 10.11 的存储库已过时。可以在位置找到软件包。按照 javaloper 的发帖进行。

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 this location. Proceed according to javaloper's posting.

路还长,别太狂 2024-12-18 14:22:00

libserflibaprutillibsvn1subversionlibsvn-java 下载文件a href="http://packages.debian.org/sid/subversion" rel="nofollow">此处。

下载时选择合适的环境,即32bit64bit版本。

Download files libserf, libaprutil, libsvn1, subversion, libsvn-java from here.

During download choose appropriate environment i.e 32bit or 64bit version.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文