Mac使用jenv管理多版本JDK
安装 jenvbrew install jenv依次执行git clone https://github.com/jenv/jenv.git ~/.jenv# Shell: bashecho 'export PATH="$HOME/.jenv/bin:$PATH"' >> ~/.bash_profileecho 'eval "$(jenv init -)"' >> ~/.bash_profile# Shell: zshecho 'export PATH="$HOME_mac jenv。
复制链接