Fix for java install issue