kali安装jdk

kali安装jdk

sudo update-alternatives --install "/usr/bin/java" "java" "/opt/jdk-14.0.2/bin/java" 1
sudo update-alternatives --install "/usr/bin/javac" "javac" "/opt/jdk-14.0.2/bin/javac" 1
update-alternatives --set java /opt/jdk-14.0.2/bin/java
update-alternatives --set javac /opt/jdk-14.0.2/bin/javac
posted @ 2020-09-11 19:08  CyberPelican  阅读(422)  评论(0编辑  收藏  举报