]> source.dussan.org Git - sonarqube.git/commitdiff
update jdk to 1.8u151
authorTom <thomas.verin@sonarsource.com>
Mon, 23 Oct 2017 07:36:18 +0000 (09:36 +0200)
committertomverin <thomas.verin@sonarsource.com>
Mon, 23 Oct 2017 08:41:54 +0000 (10:41 +0200)
travis.sh

index 31e0c5663deb223ddf03e8ef932c23fd52cea375..914a14561cd669d5dba911c5012bc11a098d84ce 100755 (executable)
--- 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
 }