sun-jdk/jre problem lget
Auke Kok
auke at foo-projects.org
Thu May 3 06:44:09 CEST 2012
On 05/02/2012 06:00 PM, Auke Kok wrote:
> On 05/02/2012 01:02 PM, Zbigniew Luszpinski wrote:
>> Hi,
>>
>> I was going to update sun-jdk, sun-jre modules to 7u4 release but
>> encounter obstacle:
>>
>> To download these links:
>> http://download.oracle.com/otn-pub/java/jdk/7u4-b20/jdk-7u4-linux-
>> i586.tar.gz
>> http://download.oracle.com/otn-pub/java/jdk/7u4-b20/jdk-7u4-linux-
>> x64.tar.gz
>>
>> Somone needs to click 'Accept License Agreement' radio button here:
>> http://www.oracle.com/technetwork/java/javase/downloads/jdk-7u4-
>> downloads-1591156.html
>> Then js script on page sets cookie and allows to download these links.
>>
>> How to simulate this click using lget?
>>
>> sun-jre:
>> license page:
>> http://www.oracle.com/technetwork/java/javase/downloads/jre-7u4-
>> download-1591157.html
>> java jre:
>> http://download.oracle.com/otn-pub/java/jdk/7u4-b20/jre-7u4-linux-
>> i586.tar.gz
>> http://download.oracle.com/otn-pub/java/jdk/7u4-b20/jre-7u4-linux-
>> x64.tar.gz
>
> there's really no way since you don't have a js interpreter...
actually, that's not entirely correct, but, wget is basically not smart
enough to do this.
you can do it with curl, but, it would be rather complex. still a huge pain.
Auke
More information about the Lunar-dev
mailing list