7
How to Switch Between Java Versions in Ubuntu
(www.fosslinux.com)
Everything about Linux
RULES
Be nice to each other.
No memes or pictures of Linux in the wild.
Could also use Nix as package manager on Ubuntu. It does essentially what you say (symlinking) with guaranteed isolated dependency graphs.