码迷,mamicode.com
首页 > 编程语言 > 详细

mac eclipse svn subeclipse: Failed to load JavaHL Library.

时间:2014-10-14 10:41:08      阅读:306      评论:0      收藏:0      [点我收藏+]

标签:style   blog   http   color   io   使用   ar   java   for   

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


bubuko.com,布布扣


解决:

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

bubuko.com,布布扣

        安装完之后,终端运行 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$ 




mac eclipse svn subeclipse: Failed to load JavaHL Library.

标签:style   blog   http   color   io   使用   ar   java   for   

原文地址:http://www.cnblogs.com/mengfanrong/p/4023672.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!