Is it possible to install multiple stable versions of the openjdk and specify a default version to link?
Ideally, I’d have 8 (for legacy work), 11, and 14 when that’s available. Specifying multiple versions in a buildEnv, however causes priority conflicts (e.g., for /bin/unpack200).
I can create a shell.nix, of course, as needed which bypasses this issue.
When I was using macports it had this feature where you can ‘activate’ a specific version of a port.
sudo port select --set python python34
But other versions were still usable (e.g., python33). They just wouldn’t be default.
So in the case of the jdk, is this achievable or not recommended?