Fix java installation commands