下载mac arm版本的jdk,在.zprofile中按如下配置:
export JAVA_HOME=/Users/wlg/Softwares/jdk1.8.0_381.jdk/Contents/Home
export CLASSPATH=.:$JAVA_HOME/lib
export PATH=$JAVA_HOME/bin:$PATH

标签: none

评论已关闭