mac osx 下 使用 brew 安裝 svn的javahl ,並解決報錯Incompatible JavaHL library loaded. Subversion 1.8.x required

官網說的此命令

brew install --universal --java subversion

在 brew 1.20以後--universal參數已廢棄,所以報錯 invalid --universal,

此時使用

brew install subversion

即可。

不要忘了建立java 虛擬機讀取的路徑

You may need to link the Java bindings into the Java Extensions folder:

  sudo mkdir -p /Library/Java/Extensions

  sudo ln -s /usr/local/lib/libsvnjavahl-1.dylib /Library/Java/Extensions/libsvnjavahl-1.dylib

Incompatible JavaHL library loaded. Subversion 1.8.x required not going away

這個報錯直接使用

Ok so after trying a lot of things that did not work, i finally managed to solve it by updating the javaHL native Library Adapter to 1.9. I did not know where to get it from so i tried the eclipse marketplace . Help --> Eclipse Marketplace --> Installed tab --> Subclipse --> Update (click on the ltlle arrow in the button if install is showed to select it) then make sure the javaHl adapter is checked and update.

此方法來自stackoverflow https://stackoverflow.com/questions/40660994/incompatible-javahl-library-loaded-subversion-1-8-x-required-not-going-away

我發現這個問題百度根本搜不到答案,不謝

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章