java sdk 管理神器
可以管理 java 版本 maven 版本 gradle 版本
linux
curl -s "https://get.sdkman.io" | bash
mac M2 arm
brew tap sdkman/tap
export HOMEBREW_NO_INSTALL_CLEANUP=TRUE
curl -s https://api.sdkman.io/2/candidates/all -o /opt/homebrew/Cellar/sdkman-cli/5.16.0/libexec/var/candidates
arch -arm64 brew install sdkman-cli
vim .bash_profile
export SDKMAN_DIR=/opt/homebrew/opt/sdkman-cli/libexec;
export PATH=$PATH:$SDKMAN_DIR/bin;
本文来自博客园,作者:vx_guanchaoguo0,转载请注明原文链接:https://www.cnblogs.com/guanchaoguo/p/17055273.html