$ vim .bash_profile 在vim打開文件中輸入:export JAVA_HOME=$(/usr/libexec/java_home) $ source.bas...

IP屬地:湖北
$ vim .bash_profile 在vim打開文件中輸入:export JAVA_HOME=$(/usr/libexec/java_home) $ source.bas...
在“終端”窗口中,復(fù)制和粘貼命令: sudo rm -fr /Library/Internet\ Plug-Ins/JavaAppletPlugin.plugin sudo ...
只要把/usr/local/.git 目錄刪了即可 終端執(zhí)行 rm -rf /usr/local/.git 命令勿她,然后重新安裝homebrew即可