Added a missing 'sudo'; changed jdk versions