2. Tell alternatives about it:
sudo alternatives --install /usr/bin/java java /usr/java/latest/bin/java 1
sudo alternatives config java
and set the /usr/java/latest/bin/java as the default java.
sudo alternatives --display java | head 3
should show the correct info.
No comments:
Post a Comment