On 8/20/18 06:57, ToddAndMargo wrote:
Hi All,

If you guys would permit an Off Topic question, I know there
is a lot of intellectual property on this site that may
know the answer.

With "curl", I want to download

    jre-8u181-windows-i586.exe

and the x64 windows and x64 Linux versions too

from


http://www.oracle.com/technetwork/java/javase/downloads/jre8-downloads-2133155.html

According to Firefox's cliget, the address is:

https://download.oracle.com/otn-pub/java/jdk/8u181-b13/96a7b8442fe848ef90c96a2fad6ed6d1/jre-8u181-windows-i586.exe?AuthParam=1534577721_2ae0bad94b6341c2907ebf82aa395171

But how do I get the "AuthParam"?

I am stumped?

Many thanks,


On 08/20/2018 02:10 AM, Robert Lu wrote:
> Hi,
>
> Have you read
> https://github.com/Homebrew/homebrew-cask/blob/53fdbf714a80a2a19b6902122f85550feced7771/Casks/java.rb#L5-L8
> ?
>
> You can just use curl:
>
> curl -L 'https://download.oracle.com/otn-pub/java/jdk/8u181-b13/96a7b8442fe848ef90c96a2fad6ed6d1/jre-8u181-windows-i586.exe' \
> --cookie oraclelicense=accept-securebackup-cookie \
> -O /tmp/jre-8u181-windows-i586.exe
>
> to download jre directly.
>
>


$ curl -L 'https://download.oracle.com/otn-pub/java/jdk/8u181-b13/96a7b8442fe848ef90c96a2fad6ed6d1/jre-8u181-windows-i586.exe' \
 --cookie oraclelicense=accept-securebackup-cookie \
 -o eraseme


Works like a charm!

Thank you!

_______________________________________________
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org/message/GCUOYOX2OWD4CJ4B64M34QWW7GOYX2QV/

Reply via email to