Repaired java installation for red hat-based distributions