Accept the JDK license
-y on the apt-get purge of curl