CSPACE-6265: Split off Debian-based systems from RedHat-based systems when setting up 'alternatives' for Java commands.