官网说的此命令
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
我发现这个问题百度根本搜不到答案,不谢