You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@griffin.apache.org by "Wan Kun (Jira)" <ji...@apache.org> on 2019/11/12 07:50:00 UTC
[jira] [Created] (GRIFFIN-299) Add oracle jdk8 support in travis
build phase
Wan Kun created GRIFFIN-299:
-------------------------------
Summary: Add oracle jdk8 support in travis build phase
Key: GRIFFIN-299
URL: https://issues.apache.org/jira/browse/GRIFFIN-299
Project: Griffin
Issue Type: Improvement
Reporter: Wan Kun
{code:java}
Installing oraclejdk8164$ export JAVA_HOME=~/oraclejdk8165$ export PATH="$JAVA_HOME/bin:$PATH"166$ ~/bin/install-jdk.sh --target "/home/travis/oraclejdk8" --workspace "/home/travis/.cache/install-jdk" --feature "8" --license "BCL"167Ignoring license option: BCL -- using GPLv2+CE by default168install-jdk.sh 2019-10-16169Expected feature release number in range of 9 to 14, but got: 8170The command "~/bin/install-jdk.sh --target "/home/travis/oraclejdk8" --workspace "/home/travis/.cache/install-jdk" --feature "8" --license "BCL"" failed and exited with 3 during .171172Your build has been stopped.
{code}
As Ubuntu Xenial has become the default Travis CI build environment, we may build fail.
The workaround is to either add {{dist: trusty}} to your .travis.yml file or use {{openjdk8}}.
Help Links:
[https://blog.travis-ci.com/2019-04-15-xenial-default-build-environment]
[https://travis-ci.community/t/solved-oraclejdk8-installation-failing-still-again/3428]
[Build fail link : https://travis-ci.org/apache/griffin/jobs/610666439?utm_medium=notification&utm_source=github_status|https://travis-ci.org/apache/griffin/jobs/610666439?utm_medium=notification&utm_source=github_status]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)