alternative JCE providers?

Peter Schober peter.schober at univie.ac.at
Wed Sep 16 09:01:52 EDT 2015


* Misagh Moayyed <mmoayyed at unicon.net> [2015-09-16 14:07]:
> If you wish to automate the process, would something like this help?
> 
> wget --no-check-certificate --no-cookies --header "Cookie: oraclelicense=accept-securebackup-cookie" <url>

I briefly thought about tracing the cookie. That worked fine, thanks!

The download host is on akamai so you might as well use plain http
(instead of disabling TLS checks). The <url> for JDK8 is (at this
time): http://download.oracle.com/otn-pub/java/jce/8/jce_policy-8.zip
I also could leave out disabling cookies (wget doesn't store any by
default), making the whole command:

wget --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jce/8/jce_policy-8.zip

Thanks for sharing,
-peter


More information about the users mailing list