Skip to content

java feature fails to install #1582

Description

@jakub-bochenski
4.731 Check if OpenJDK is available for version 17 for ms Distro
4.733 sh: 34: /usr/local/sdkman/bin/sdkman-init.sh: source: not found
4.734 sh: 65: /usr/local/sdkman/bin/sdkman-init.sh: [[: not found
4.734 sh: 67: /usr/local/sdkman/bin/sdkman-init.sh: [[: not found
4.734 sh: 79: /usr/local/sdkman/bin/sdkman-init.sh: Syntax error: "(" unexpected

https://github.com/devcontainers/features/blob/main/src/java/install.sh#L221

https://github.com/devcontainers/features/blob/main/src/java/install.sh#L235

You can't just source bash files from arbitrary shell

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

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