Add Java alternatives for RHEL based distros.