Java

brew cask install java
brew install maven
brew cask install intellij-idea-ce  # IDE,不要告诉我你还在用 eclipse

可以通过执行/usr/libexec/java_home这个命令来获取JAVA_HOME

export JAVA_HOME="$(/usr/libexec/java_home)"

results matching ""

    No results matching ""