Eu acredito nisso:
sudo update-alternatives --install "usr/bin/java" "java" "usr/lib/java/jdk1.8.0_144/bin/java" 1
deve ser:
sudo update-alternatives --install /usr/bin/java java /usr/lib/java/jdk1.8.0_144/bin/java 1
$ sudo update-alternatives --install "usr/bin/java" "java" "usr/lib/java/jdk1.8.0_144/bin/java" 1
update-alternatives: error: alternative link is not absolute as it should be: usr/bin/java
Me ajuda, pessoal, o que eu sinto falta?
Eu acredito nisso:
sudo update-alternatives --install "usr/bin/java" "java" "usr/lib/java/jdk1.8.0_144/bin/java" 1
deve ser:
sudo update-alternatives --install /usr/bin/java java /usr/lib/java/jdk1.8.0_144/bin/java 1