source: oracle-java9-installer/trunk/fuentes/developer_helper.sh

Last change on this file was 2125, checked in by mabarracus, 5 years ago

update to update125

  • Property svn:executable set to *
File size: 849 bytes
Line 
1#!/bin/bash
2
3
4JAVA_VERSION_MAJOR=9 #
5JAVA_VERSION_MINOR=125 #must be modified for each release
6#JAVA_VERSION_DATE="05_aug_2015" #must be modified for each release
7J_DIR=jdk1.9.0 #must be modified for each release
8
9
10
11
12
13for dld in x86 x64; do
14       
15        # Using the same technology of WebUpd8 TEAM
16        FILENAME=jdk-${JAVA_VERSION_MAJOR}-ea+${JAVA_VERSION_MINOR}_linux-${dld}_bin.tar.gz
17        PARTNER_URL=http://www.java.net/download/java/jdk${JAVA_VERSION_MAJOR}/archive/${JAVA_VERSION_MINOR}/binaries/$FILENAME
18 
19        # Now is time for lliurex technology
20        echo " Downloading Java for ${dld} : STDOUT is disabled"
21        WGETRC=wgetrc wget --continue --no-check-certificate  --header  "Cookie: oraclelicense=a" ${PARTNER_URL} 
22        echo " Moving to the correct place : jdk-9-linux-${dld}.tar.gz"
23        mv ${FILENAME} jdk-9-linux-${dld}.tar.gz       
24        echo " Java for ${dld} is ready"
25done
26
27
Note: See TracBrowser for help on using the repository browser.