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

Last change on this file since 566 was 566, checked in by jrpelegrina, 4 years ago

First release to xenial

  • Property svn:executable set to *
File size: 540 bytes
Line 
1#!/bin/bash
2
3JAVA_VERSION=8u60
4URL_FROM_ORACLE="http://download.oracle.com/otn-pub/java/jdk/8u60-b27"
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.