liusheng commented on a change in pull request #3316: URL: https://github.com/apache/storm/pull/3316#discussion_r465411201
########## File path: .travis.yml ########## @@ -52,6 +54,7 @@ before_install: - export MVN_HOME=$HOME/apache-maven-3.6.3 - if [ ! -d $MVN_HOME/bin ]; then wget https://archive.apache.org/dist/maven/maven-3/3.6.3/binaries/apache-maven-3.6.3-bin.tar.gz -P $HOME; tar xzvf $HOME/apache-maven-3.6.3-bin.tar.gz -C $HOME; fi - export PATH=$MVN_HOME/bin:$PATH + - f=$(which javac); while [[ -L $f ]]; do f=$(readlink $f);done; export JAVA_HOME=${f%/bin/*} Review comment: Hi Ethanlm, Thanks for your review. There is an existed problem of Travis CI "JAVA_HOME is not exported for arm64 architecture", see: https://travis-ci.community/t/java-home-is-not-exported-for-arm64-architecture/6993/3 in the issue, there is an workaround mentioned, which is this line of code. ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org