安装依赖
sudo apt-get update; sudo apt-get install software-properties-common gnupg
添加源
wget -O- https://apt.corretto.aws/corretto.key | sudo apt-key add -
sudo add-apt-repository 'deb https://apt.corretto.aws stable main'
安装java16
sudo apt-get update; sudo apt-get install -y java-16-amazon-corretto-jdk
完成
版权属于:wshon
本文链接:https://blog.wshon.com/2021/08/java16-install.html
转载时须注明出处及本声明
最新回复