Modify jdk install steps.