Ignore:
Timestamp:
Dec 15, 2017, 12:43:34 PM (2 years ago)
Author:
mabarracus
Message:

Package Java 8u151

File:
1 edited

Legend:

Unmodified
Added
Removed
  • oracle-java8-installer/trunk/fuentes/debian/oracle-java8-installer.config

    r2122 r6493  
    1717case $(dpkg --print-architecture) in
    1818'i386'|'i586'|'i686') arch=i386; dld=i586;
    19   SHA256SUM_TGZ="7203592329877735bb6259844a3a30640edc61920d132f952c40ab2e2014b224" #must be modified for each release
    20   ;; 
     19  SHA256SUM_TGZ="8062f34f69dd1f1991bff517df52da606c53f5fa0d6677ceb46df30e93b53a70" #must be modified for each release
     20  ;;
    2121'amd64'  ) arch=amd64; dld=x64;
    22   SHA256SUM_TGZ="79a3f25e9b466cb9e969d1772ea38550de320c88e9119bf8aa11ce8547c39987" #must be modified for each release
    23   ;;
    24 arm*      )
    25   arch=arm
    26         if [ `uname -m` = "armv7l" ] || [ `uname -m` = "armv6l" ]; then
    27                 if [ -x /usr/bin/readelf ] ; then
    28                         HARDFLOAT=`readelf -A /proc/self/exe | grep Tag_ABI_VFP_args`
    29                         if [ -z "$HARDFLOAT" ]; then
    30                                 # Softfloat
    31                                 echo "Oracle Java 8 doesn't support ARM v6/v7 softfloat ABI."
    32                                 #dld='arm-vfp-sflt'
    33                                 #SHA256SUM_TGZ="5026a8f2eea8d350ea6ed7cfb8496b571ec9c1e43db82750a3ca8dc02569076e"
    34                         else
    35                                 # Hardfloat
    36                                 dld='arm32-vfp-hflt'
    37                                 SHA256SUM_TGZ="35855580355584865bade416d23cc164792d7fa2581a140e6034724c520be45c" #must be modified for each release
    38                         fi
    39                 fi
    40         elif [ `uname -m` = "armv8l" ] || [ `uname -m` = "arm64" ] || [ `uname -m` = "aarch64" ]; then
    41                 dld='arm64-vfp-hflt'
    42                 SHA256SUM_TGZ="29ead39d88c2fbf5eebf126ded24c2a129227a3ae9f255f1b5688a2403912527" #must be modified for each release
    43         else
    44                 echo "Oracle JDK 8 only supports ARM v6/v7/v8 hardfloat."
    45                 arch=''
    46         fi
    47         ;;
     22  SHA256SUM_TGZ="c78200ce409367b296ec39be4427f020e2c585470c4eed01021feada576f027f" #must be modified for each release
     23  ;;
    4824*         )
    4925    echo "Please report to author unsupported platform '`uname -m`'.";
     
    5228esac
    5329
    54 
    5530########Variables
    5631
    5732if [ ! $arch = "arm" ]; then
    58         JAVA_VERSION=8u92 #must be modified for each release jdk-8u5-linux-x64.tar.gz
    59         J_DIR=jdk1.8.0_92 #must be modified for each release
     33        JAVA_VERSION=8u151 #must be modified for each release jdk-8u5-linux-x64.tar.gz
     34        J_DIR=jdk1.8.0_151 #must be modified for each release
    6035        FILENAME=jdk-${JAVA_VERSION}-linux-${dld}.tar.gz
    61         PARTNER_URL=http://download.oracle.com/otn-pub/java/jdk/8u92-b14/$FILENAME #must be modified for each release
    62         for JAVA_VERSION_OLD2 in `seq 1 91`; do #must be modified for each release
     36        #PARTNER_URL=http://download.oracle.com/otn-pub/java/jdk/8u111-b14/$FILENAME #must be modified for each release
     37        for JAVA_VERSION_OLD2 in `seq 1 150`; do #must be modified for each release
    6338           FILENAMES_OLD2="jdk-8u${JAVA_VERSION_OLD2}-linux-${dld}*.tar.gz $FILENAMES_OLD2"
    6439        done
    65 else
    66         JAVA_VERSION=8u65 #must be modified for each release jdk-8-linux-arm-vfp-hflt.tar.gz
    67         J_DIR=jdk1.8.0_65 #must be modified for each release
    68         FILENAME=jdk-${JAVA_VERSION}-linux-${dld}.tar.gz
    69         PARTNER_URL=http://download.oracle.com/otn-pub/java/jdk/8u65-b17/$FILENAME #must be modified for each release
    70         for JAVA_VERSION_OLD1 in `seq 1 64`; do #must be modified for each release
    71                 FILENAMES_OLD1="jdk-8u${JAVA_VERSION_OLD1}-linux-${dld}*.tar.gz $FILENAMES_OLD1 jdk-8-*.tar.gz"
    72         done
    7340fi
    74 
    75 for JAVA_VERSION_OLD in `seq 53 132`; do #must be modified for each release
    76   FILENAMES_OLD="jdk-8-ea-bin-b${JAVA_VERSION_OLD}-linux-${dld}-*.tar.gz $FILENAMES_OLD" #old name
    77   FILENAMES_OLD_N="jdk-8-fcs-bin-b${JAVA_VERSION_OLD}-linux-${dld}*.tar.gz $FILENAMES_OLD_N" #new name
    78   FILENAMES_OLD_NA="jdk-8-fcs-b${JAVA_VERSION_OLD}-linux-${dld}*.tar.gz $FILENAMES_OLD_NA" #arm
    79 done
    8041
    8142J_INSTALL_DIR=/usr/lib/jvm/java-8-oracle
Note: See TracChangeset for help on using the changeset viewer.