Skip to content

Generated sh startscript fails to start #200

@tbnguyen1407

Description

@tbnguyen1407

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions