Skip to content

Commit

Permalink
update jdk to 1.8u151
Browse files Browse the repository at this point in the history
  • Loading branch information
tomverin committed Oct 23, 2017
1 parent 19a53ae commit 27339c9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions travis.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@ set -euo pipefail
# at each build.
#
function installJdk8 {
echo "Setup JDK 1.8u144"
echo "Setup JDK 1.8u151"
mkdir -p ~/jvm
pushd ~/jvm > /dev/null
if [ ! -d "jdk1.8.0_144" ]; then
wget --quiet --continue --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u144-b01/090f390dda5b47b9b721c7dfaa008135/jdk-8u144-linux-x64.tar.gz
tar xzf jdk-8u144-linux-x64.tar.gz
rm jdk-8u144-linux-x64.tar.gz
if [ ! -d "jdk1.8.0_151" ]; then
wget --quiet --continue --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u151-b12/e758a0de34e24606bca991d704f6dcbf/jdk-8u151-linux-x64.tar.gz
tar xzf jdk-8u151-linux-x64.tar.gz
rm jdk-8u151-linux-x64.tar.gz
fi
popd > /dev/null
export JAVA_HOME=~/jvm/jdk1.8.0_144
export JAVA_HOME=~/jvm/jdk1.8.0_151
export PATH=$JAVA_HOME/bin:$PATH
}

Expand Down

0 comments on commit 27339c9

Please sign in to comment.