source: oracle-java8-installer/trunk/fuentes/developer_helper.sh @ 2122

Last change on this file since 2122 was 2122, checked in by mabarracus, 3 years ago

update to sun-update92

  • Property svn:executable set to *
File size: 540 bytes
Line 
1#!/bin/bash
2
3JAVA_VERSION=8u92
4URL_FROM_ORACLE="http://download.oracle.com/otn-pub/java/jdk/8u92-b14"
5
6for arch in i586 x64; do
7        echo " Downloading Java for $arch : STDOUT is disabled"
8        WGETRC=wgetrc wget --continue --no-check-certificate  --header "Cookie: oraclelicense=a" ${URL_FROM_ORACLE}/jdk-${JAVA_VERSION}-linux-${arch}.tar.gz >/dev/null 2>/dev/null
9        echo " Moving to the correct place : jdk-8-linux-${arch}.tar.gz"
10        mv jdk-${JAVA_VERSION}-linux-${arch}.tar.gz jdk-8-linux-${arch}.tar.gz 
11        echo " Java for $arch is ready"
12done
13
14
15
16
Note: See TracBrowser for help on using the repository browser.