SVN连接eclipse出错

发布于 2024-11-02 11:37:25 字数 2374 浏览 0 评论 0原文

当我尝试将 SVN 连接到 eclipse 时,出现以下错误:知道如何解决它吗?

Failed to load JavaHL Library.
These are the errors that were encountered:
no libapr-1 in java.library.path
no libapriconv-1 in java.library.path
C:\Program Files (x86)\Subversion\bin\libeay32.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
C:\Program Files (x86)\Subversion\bin\ssleay32.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
no libaprutil-1 in java.library.path
C:\Program Files (x86)\TortoiseSVN\bin\libsasl.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
no libsvn_subr-1 in java.library.path
no libsvn_delta-1 in java.library.path
no libsvn_diff-1 in java.library.path
no libsvn_wc-1 in java.library.path
no libsvn_fs-1 in java.library.path
no libsvn_repos-1 in java.library.path
no libsvn_ra-1 in java.library.path
no libsvn_client-1 in java.library.path
no libsvnjavahl-1 in java.library.path
no svnjavahl-1 in java.library.path
no svnjavahl in java.library.path
java.library.path = C:\Windows\system32;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\JavaFX\javafx-sdk1.3\bin;C:\Program Files (x86)\JavaFX\javafx-sdk1.3\emulator\bin;C:\Program Files (x86)\Common Files\OTG;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files\Intel\DMIX;C:\Program Files\Dell\DW WLAN Card;c:\Program Files\WIDCOMM\Bluetooth Software\;c:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Subversion\bin;C:\Program Files (x86)\TortoiseSVN\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft Dynamics AX\60\BusinessConnector\Bin\;C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin\;C:\Program Files\Microsoft Dynamics AX\60\ManagementUtilities

When I am trying to connect SVN to eclipse I am getting the following error: any idea how to resolve it?

Failed to load JavaHL Library.
These are the errors that were encountered:
no libapr-1 in java.library.path
no libapriconv-1 in java.library.path
C:\Program Files (x86)\Subversion\bin\libeay32.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
C:\Program Files (x86)\Subversion\bin\ssleay32.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
no libaprutil-1 in java.library.path
C:\Program Files (x86)\TortoiseSVN\bin\libsasl.dll: Can't load IA 32-bit .dll on a AMD 64-bit platform
no libsvn_subr-1 in java.library.path
no libsvn_delta-1 in java.library.path
no libsvn_diff-1 in java.library.path
no libsvn_wc-1 in java.library.path
no libsvn_fs-1 in java.library.path
no libsvn_repos-1 in java.library.path
no libsvn_ra-1 in java.library.path
no libsvn_client-1 in java.library.path
no libsvnjavahl-1 in java.library.path
no svnjavahl-1 in java.library.path
no svnjavahl in java.library.path
java.library.path = C:\Windows\system32;.;C:\Windows\Sun\Java\bin;C:\Windows\system32;C:\Windows;C:\Program Files (x86)\JavaFX\javafx-sdk1.3\bin;C:\Program Files (x86)\JavaFX\javafx-sdk1.3\emulator\bin;C:\Program Files (x86)\Common Files\OTG;C:\Program Files\Common Files\Microsoft Shared\Windows Live;C:\Program Files (x86)\Common Files\Microsoft Shared\Windows Live;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;c:\Program Files\Intel\DMIX;C:\Program Files\Dell\DW WLAN Card;c:\Program Files\WIDCOMM\Bluetooth Software\;c:\Program Files\WIDCOMM\Bluetooth Software\syswow64;C:\Program Files (x86)\Windows Live\Shared;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\Tools\Binn\;C:\Program Files\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft SQL Server\100\Tools\Binn\VSShell\Common7\IDE\;C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\;C:\Program Files (x86)\Microsoft Visual Studio 9.0\Common7\IDE\PrivateAssemblies\;C:\Program Files (x86)\QuickTime\QTSystem\;C:\Program Files (x86)\Subversion\bin;C:\Program Files (x86)\TortoiseSVN\bin;C:\Program Files\TortoiseSVN\bin;C:\Program Files\Microsoft Dynamics AX\60\BusinessConnector\Bin\;C:\Program Files (x86)\Microsoft Dynamics AX\60\Client\Bin\;C:\Program Files\Microsoft Dynamics AX\60\ManagementUtilities

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

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

发布评论

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

评论(3

黄昏下泛黄的笔记 2024-11-09 11:37:25
window -> preferences -> team -> svn 

选择 SVN Interface:

client : SVNKit (Pure Java)

应用并重试。

window -> preferences -> team -> svn 

Choose SVN Interface:

client : SVNKit (Pure Java)

Apply and try again.

扛起拖把扫天下 2024-11-09 11:37:25

这是针对 Windows 的:(对于 linux,您必须做一些不同的事情,抱歉):

如果您有

  • 64 位机器
  • 64 位 eclipse
  • 64 位 jvm

,只需执行以下操作,即可享受本机 JavaHL 的稳定性和性能:

  1. 下载并安装最新的 64 位版本的 SlikSvn (请注意,它向下兼容)
  2. 将以下行添加到您的 eclipse.ini,它应该指向正确的 libsvnjavahl-1.dll:

    -Dsubversion.native.library=C:/Program Files/SlikSvn/bin/libsvnjavahl-1.dll

This is for Windows: (for linux you're going to have to do something a little bit different, sorry):

If you have a

  • 64bit machine
  • 64bit eclipse
  • 64bit jvm

just do the following, to enjoy the stability and performance of native JavaHL:

  1. Download and install the newest 64bit version of SlikSvn (Note, that it is downwards compatible)
  2. add the following line to your eclipse.ini, it should point to the correct libsvnjavahl-1.dll:

    -Dsubversion.native.library=C:/Program Files/SlikSvn/bin/libsvnjavahl-1.dll

美人骨 2024-11-09 11:37:25

尝试修改 SVN 的 Eclipse 接口,使其不使用 JavaHL。这就是我所做的:

首选项/团队/SVN/SVN 界面

* 未选中的 JavaHL (JNI) 不可用

*检查SVNKit(纯Java)

此后,它再也没有抱怨过 JavaHL 库。

Try modifying the Eclipse interface to SVN so that it does not use JavaHL. Here's what I did:

Preferences/Team/SVN/SVN interface

* unchecked JavaHL (JNI) Not Available

* checked SVNKit (Pure Java)

After that it never complained about JavaHL libraries.

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