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.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$ 




评论 1
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值