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

Last change on this file since 6504 was 6504, checked in by mabarracus, 2 years ago

Initial commit oracle-jdk9-x64-installer

  • Property svn:executable set to *
File size: 695 bytes
Line 
1#!/bin/bash
2
3
4JAVA_VERSION_MAJOR=9.0.1 #
5JAVA_VERSION_MINOR=11 #must be modified for each release
6J_DIR=jdk1.${JAVA_VERSION_MAJOR} #must be modified for each release
7
8# Using the same technology of WebUpd8 TEAM
9FILENAME=jdk-${JAVA_VERSION_MAJOR}_linux-x64_bin.tar.gz
10PARTNER_URL=http://download.oracle.com/otn-pub/java/jdk/${JAVA_VERSION_MAJOR}+${JAVA_VERSION_MINOR}/${FILENAME}
11
12# Now is time for lliurex technology
13echo " Downloading Java for x64 : STDOUT is disabled"
14WGETRC=wgetrc wget --continue --no-check-certificate  --header  "Cookie: oraclelicense=accept-securebackup-cookie" ${PARTNER_URL}
15if [ $? -eq 0 ]; then
16    echo " Java for x64 is ready"
17else
18    echo " Failed download"
19fi
20
21
Note: See TracBrowser for help on using the repository browser.