Fix Java install