Parameterize java installation commands and fix zypper repo addition
Guard against multiple additions of same repo on SUSE servers