Hi JF89
If you were able to run these commands
sudo update-alternatives --install "/usr/bin/javac" "javac" "/usr/local/java/jdk1.8.0_131/bin/javac" 1
sudo update-alternatives --install "/usr/bin/java" "java" "/usr/local/java/jdk1.8.0_131/bin/java" 1
You are fine. I actually don't believe that the 3rd one should be there. It has the wrong order and is a duplicate of the second command. @phildunlap can you confirm?