You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@kylin.apache.org by guqiujun <gu...@163.com> on 2022/03/23 02:11:10 UTC

Build Package for kylin4 failed-2

场景:
在windows下使用git-bash运行package.sh打包时,报错
build/script/prepare.sh: line 47: jar: command not found

说明:
kylin4的打包脚本package.sh会运行4个其他脚本:
bash build/script/build.sh $@         || { exit 1; }
bash build/script/download-tomcat.sh  || { exit 1; }
bash build/script/prepare.sh          || { exit 1; }
bash build/script/compress.sh         || { exit 1; }
由于我是在windows下使用git-bash进行打包的,结果运行到prepare.sh时,出现了
build/script/prepare.sh: line 47: jar: command not found
的错误.
所以请教一下各位,在windows下有没有办法运行这个jar命令以完成kylin4.0.1的打包操作呢?