Ericsson / CodeCheckerEclipsePlugin

This is an Eclipse plugin that shows C/C++ static analysis results found by Clang Static Analyzer and Clang Tidy
Eclipse Public License 1.0
32 stars 13 forks source link

openjdk 9 is causing a Travis build error, omitted until further investigation. #168

Open vodorok opened 5 years ago

vodorok commented 5 years ago

installing openjdk 9 on the Travis vm errors the build. openjdk9 and 10 is working with the provided fix. oraclejdk9 is also working.

Related job: https://travis-ci.org/Ericsson/CodeCheckerEclipsePlugin/jobs/554230748 Attached stacktrace from Travis log:

Installing openjdk9 $ export JAVA_HOME=~/openjdk9 $ export PATH="$JAVA_HOME/bin:$PATH" $ ~/bin/install-jdk.sh --target "/home/travis/openjdk9" --workspace "/home/travis/.cache/install-jdk" --feature "9" --license "GPL" --cacerts Ignoring license option: GPL -- using GPLv2+CE by default install-jdk.sh 2019-07-02-II Variables: feature = 9 license = GPL os = linux-x64 // os_name=linux os_arch=x64 url = https://api.adoptopenjdk.net/v2/binary/releases/openjdk9?type=jdk&os=linux&arch=x64&release=latest&heap_size=normal&openjdk_impl=hotspot status = 302 Downloading JDK from https://api.adoptopenjdk.net/v2/binary/releases/openjdk9?type=jdk&os=linux&arch=x64&release=latest&heap_size=normal&openjdk_impl=hotspot... Using custom target: /home/travis/openjdk9 ln: failed to create symbolic link ‘/home/travis/openjdk9/lib/security/cacerts’: No such file or directory The command "~/bin/install-jdk.sh --target "/home/travis/openjdk9" --workspace "/home/travis/.cache/install-jdk" --feature "9" --license "GPL" --cacerts" failed and exited with 1 during . Your build has been stopped.