aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTom <thomas.verin@sonarsource.com>2017-10-23 09:36:18 +0200
committertomverin <thomas.verin@sonarsource.com>2017-10-23 10:41:54 +0200
commit27339c9f9243a96b789a047146fd1e038d044c93 (patch)
treefbae12cd3d70759798b8aec8564145ddcf1b31be
parent19a53aef1c0a34953ec64b8a87be895d8387ac7a (diff)
downloadsonarqube-27339c9f9243a96b789a047146fd1e038d044c93.tar.gz
sonarqube-27339c9f9243a96b789a047146fd1e038d044c93.zip
update jdk to 1.8u151
-rwxr-xr-xtravis.sh12
1 files changed, 6 insertions, 6 deletions
diff --git a/travis.sh b/travis.sh
index 31e0c5663de..914a14561cd 100755
--- a/travis.sh
+++ b/travis.sh
@@ -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
}