Restart ES and LG only after successful Java install