[crxj-app
@CRXJ
-APP-
2
uap]
$
source /home/crxj-app/.bash_profile [crxj-app
@CRXJ
-APP-
2
uap]
$
source /etc/profile
update-alternatives --install /usr/bin/java java /usr/local/
jdk1.8
/bin/java 300
update-alternatives --install /usr/bin/javac javac /usr/local/jdk1.8/bin/javac 300
来源:oschina
链接:https://my.oschina.net/aulbrother/blog/4263502