Problem
generated sh startscript fails to start with
Error occurred during initialization of boot layer
java.lang.module.FindException: Module greeter.startscripts not found
Reproduction
## build
cd test-project
../gradlew clean installDist
## run on linux (failure)
./greeter.startscripts/build/install/demo/bin/demo
## run on windows (success)
./greeter.startscripts/build/install/demo/bin/demo.bat
Additional information
Seems $APP_HOME is not expanded for sh script, causing wrong path to module-path.