mv jdk1.8.0_144/ /opt
update-alternatives --install /usr/bin/java java /opt/jdk1.8.0_144/bin/java 1
update-alternatives --install /usr/bin/javac javac /opt/jdk1.8.0_144/bin/javac 1
update-alternatives --set java /opt/jdk1.8.0_144/bin/java
update-alternatives --set javac /opt/jdk1.8.0_144/bin/javac
随笔 | Linux Java 配置
最新推荐文章于 2024-09-08 12:41:07 发布