Updated to new jdk version

Older version of JDK was no longer downloadable from site. Also, added some cookies to support license acceptance.