eclipse 在 Mac OS X 中安装 Subversion JavaHL 库
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/12313164/
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
Installing Subversion JavaHL library in Mac OS X
提问by Apurv
I installed Subclipse in Eclipse using Eclipse Marketplace. I keep on getting a pop window with the message
我使用 Eclipse Marketplace 在 Eclipse 中安装了 Subclipse。我不断收到带有消息的弹出窗口
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 = .:/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java
This is the link that is suggested to be visited. http://subclipse.tigris.org/wiki/JavaHL
这是建议访问的链接。 http://subclipse.tigris.org/wiki/JavaHL
Under Mac OS X I find a link to OpenCollabNet but I can't find binaries on that link, would much appreciate if someone could help me locate the link to binaries. And also is there a way to install Subversion JavaHL library via macports, if yes what is the command to do so.
在 Mac OS XI 下找到 OpenCollabNet 的链接,但我在该链接上找不到二进制文件,如果有人能帮我找到二进制文件的链接,我将不胜感激。还有一种方法可以通过 macports 安装 Subversion JavaHL 库,如果是的话,这样做的命令是什么。
回答by centic
You can also switch to the pure-Java implementation via "Window -> Preferences -> Team -> SVN -> SVN inteface" and choose the entry with "SVNKit". This way you remove any dependency on native code and get rid of these errors. Eclipse Preferences
您也可以通过“Window -> Preferences -> Team -> SVN -> SVN inteface”切换到纯Java实现,并选择带有“SVNKit”的条目。通过这种方式,您可以消除对本机代码的任何依赖并摆脱这些错误。Eclipse 首选项
If you are missing the SVNKit-choice, verify if you have installed the plugin "SVNKit Client Adapter" from CollabNet!
如果您缺少 SVNKit 选择,请验证您是否安装了 CollabNet 的插件“SVNKit Client Adapter”!
回答by Mark Phippard
Using SVNKit is a valid option, but I still prefer JavaHL. The volunteer that was providing OSX binaries hosted by CollabNet stopped making them, so they do not have a Subversion 1.7 version available, only 1.6.
使用 SVNKit 是一个有效的选择,但我仍然更喜欢 JavaHL。提供由 CollabNet 托管的 OSX 二进制文件的志愿者停止制作它们,因此他们没有可用的 Subversion 1.7 版本,只有 1.6。
I updated the Subclipse JavaHL wiki page. The page directs people to use MacPorts or HomeBrew. Those are the best options for getting JavaHL. I use MacPorts.
我更新了 Subclipse JavaHL wiki 页面。该页面指导人们使用 MacPorts 或 HomeBrew。这些是获取 JavaHL 的最佳选择。我使用 MacPorts。