On Ubuntu 20.04 LTS, I've done:
sudo apt-get install openjdk-{8,11,14}-{jdk,source,doc}
Now I often use the commands
sudo update-alternatives --config java
sudo update-alternatives --config javac
sudo update-alternatives --config javadoc
...and maybe a few others, but when I type this command:
ls -l /etc/alternatives/*j*
I still find many Java-related commands which have not been affected by the above sequence of update-alternatives commands.
What is the full list of update-alternatives commands that will change every single Java-related command to a specified Java version?