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$ 




相关文章
|
Go Android开发 数据安全/隐私保护
如何在Eclipse中使用SVN
如何在Eclipse中使用SVN
179 0
|
安全 Java API
Eclipse 打开marketplace 报PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
网上有很多解决的帖子,我这里只是记录一下方便自己查阅 主要原因是java本身需要证书 1、按导入安全证书的方法解决
1577 0
Eclipse 打开marketplace 报PKIX path building failed: sun.security.provider.certpath.SunCertPathBuilderException: unable to find valid certification path to requested target
|
iOS开发 MacOS
MAC OS更新系统后IDEA中的SVN报错无法使用
MAC OS更新系统后IDEA中的SVN报错无法使用
|
iOS开发 MacOS Python
【Mac 系统】解决已有清华镜像但出现CondaHTTPError: HTTP 000 CONNECTION FAILED for url
在尝试使用清华镜像创建conda环境时遇到下载超时问题,通过删除原有镜像并添加针对Mac OS的清华镜像解决了该问题。
508 3
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
563 1
|
开发工具 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
|
XML 应用服务中间件 Android开发
【已解决】eclipse导入项目出错 Server Tomcat v7.0 Server at localhost failed to start
【已解决】eclipse导入项目出错 Server Tomcat v7.0 Server at localhost failed to start
176 0
|
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
539 0
|
数据库管理
Mac检出svn checkout报错 svn: E200030: SQLite 编译为 3.39.5,但是运行于 3.39.4
Mac检出svn checkout报错 svn: E200030: SQLite 编译为 3.39.5,但是运行于 3.39.4
714 0
|
iOS开发 MacOS
mac AnyConnect 连接报错 Posture Assessment Failed: Hostscan Initialize error.
mac AnyConnect 连接报错 Posture Assessment Failed: Hostscan Initialize error.
461 1
mac AnyConnect 连接报错 Posture Assessment Failed: Hostscan Initialize error.

热门文章

最新文章

推荐镜像

更多