In 2022, you can use just brew. brew install openjdk. and maybe you need to update PATH env: export PATH="/usr/local/opt/openjdk/bin:$PATH" ...
確定! 回上一頁