mac eclipse svn subeclipse: Failed to load JavaHL Library.

简介: Failed to load JavaHL Library. These are the errors that were encountered: no libsvnjavahl-1 in java.
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 = /Users/jason/Library/Java/Extensions:/Library/Java/Extensions:/Network/Library/Java/Extensions:/System/Library/Java/Extensions:/usr/lib/java:.




解决:

        根据上图中得链接提示,跳转到http://www.macports.org/install.php下载MacPorts并安装。


        安装完之后,终端执行 sudo port install subversion-javahlbindings +no_bdb +universal 。

      如果出现错误:

Error: Port subversion-javahlbindings not found

      继续执行 sudo port -v selfupdate


 

以上步骤完成之后,即可重新启动eclipse,此时subclipse即可使用了。



     终端文字实录:


Last login: Wed Jun 18 08:57:38 on ttys000

jasondeabroadVPN:~ jason$ sudo port install subversion-javahlbindings +no_bdb +universal

Password:

Error: Port subversion-javahlbindings not found

jasondeabroadVPN:~ jason$ xcode-select --install

xcode-select: note: install requested for command line developer tools

jasondeabroadVPN:~ jason$ sudo port install subversion-javahlbindings +no_bdb +universal

Password:

Error: Port subversion-javahlbindings not found

jasondeabroadVPN:~ jason$ sudo port install subversion-javahlbindings

Password:

Error: Port subversion-javahlbindings not found

jasondeabroadVPN:~ jason$ sudo port -v selfupdate

--->  Updating MacPorts base sources using rsync

receiving file list ... done

base.tar


sent 31264 bytes  received 233081 bytes  7890.90 bytes/sec

total size is 27002880  speedup is 102.15

receiving file list ... done

base.tar.rmd160


sent 64 bytes  received 635 bytes  155.33 bytes/sec

total size is 512  speedup is 0.73

MacPorts base version 2.3.0 installed,

MacPorts base version 2.3.0 downloaded.

--->  Updating the ports tree

Synchronizing local ports tree from rsync://rsync.macports.org/release/tarballs/ports.tar

receiving file list ... done

ports.tar


sent 58 bytes  received 12350890 bytes  18393.07 bytes/sec

total size is 61337600  speedup is 4.97

receiving file list ... done

ports.tar.rmd160


sent 58 bytes  received 636 bytes  277.60 bytes/sec

total size is 512  speedup is 0.74

receiving file list ... done

PortIndex


sent 58 bytes  received 1496732 bytes  176092.94 bytes/sec

total size is 10641251  speedup is 7.11

receiving file list ... done

PortIndex.rmd160


sent 58 bytes  received 636 bytes  277.60 bytes/sec

total size is 512  speedup is 0.74

--->  MacPorts base is already the latest version


The ports tree has been updated. To upgrade your installed ports, you should run

  port upgrade outdated

jasondeabroadVPN:~ jason$ 




相关文章
|
数据库管理
SVN 执行cleanup报错:Cleanup failed to process the following paths : 解决方法
引用:https://www.cnblogs.com/pinpin/p/11395438.html 在SVN更新时提示文件被锁住了,要求执行 clean up操作,执行clean up时又报clean up failed。造成的原因是在某次更新后,点击了cancel按钮,操作没有完成所以会锁住。解决方法如下:
1377 0
|
7月前
|
安全 Java API
Eclipse 打开marketplace 报PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
网上有很多解决的帖子,我这里只是记录一下方便自己查阅 主要原因是java本身需要证书 1、按导入安全证书的方法解决
828 0
Eclipse 打开marketplace 报PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
|
应用服务中间件 nginx
Mac Nginx nginx: [emerg] mkdir() “/usr/local/var/run/nginx/client_body_temp“ failed ...
Mac Nginx nginx: [emerg] mkdir() “/usr/local/var/run/nginx/client_body_temp“ failed ...
309 2
|
4月前
|
iOS开发 MacOS Python
【Mac 系统】解决已有清华镜像但出现CondaHTTPError: HTTP 000 CONNECTION FAILED for url
在尝试使用清华镜像创建conda环境时遇到下载超时问题,通过删除原有镜像并添加针对Mac OS的清华镜像解决了该问题。
129 3
|
6月前
svn: E175002: Commit failed (details follow): svn: E175002: Unexpected HTTP status 502Bad Gateway on
svn: E175002: Commit failed (details follow): svn: E175002: Unexpected HTTP status 502Bad Gateway on
161 1
|
6月前
|
开发工具 git
MAC如何使用Git命令行上传本地项目及理解,failed to push some refs to ‘https://gitee.com/brother-barking/spxx.git
MAC如何使用Git命令行上传本地项目及理解,failed to push some refs to ‘https://gitee.com/brother-barking/spxx.git
|
6月前
|
XML 应用服务中间件 Android开发
【已解决】eclipse导入项目出错 Server Tomcat v7.0 Server at localhost failed to start
【已解决】eclipse导入项目出错 Server Tomcat v7.0 Server at localhost failed to start
56 0
|
7月前
|
Docker 容器
mac构建Docker镜像报错failed to solve with frontend dockerfile.v0: failed to create LLB definition: unexpec
mac构建Docker镜像报错failed to solve with frontend dockerfile.v0: failed to create LLB definition: unexpec
286 0
|
7月前
Mac系统R语言升级后无法加载包报错 package or namespace load failed in dyn.load
Mac系统R语言升级后无法加载包报错 package or namespace load failed in dyn.load
|
iOS开发 MacOS
mac AnyConnect 连接报错 Posture Assessment Failed: Hostscan Initialize error.
mac AnyConnect 连接报错 Posture Assessment Failed: Hostscan Initialize error.
228 1
mac AnyConnect 连接报错 Posture Assessment Failed: Hostscan Initialize error.