Skip to content

Feature: block installation on Cygwin #75

@chloe41427

Description

@chloe41427

Cygwin is not supported due to Rust path handling incompatibilities. Currently nothing prevents users from installing SDKMAN on Cygwin, leading to confusing failures (e.g. platform detection falling back to exotic, empty sdk list java, broken selfupdate).

The installer hook should detect Cygwin at install time and exit with a clear, friendly error message explaining that Cygwin is not supported.

Detection
uname -s returns CYGWIN_NT-* on Cygwin — this is a reliable signal.

Acceptance criteria

  • Installer hook detects CYGWIN_NT-* from uname -s
  • Exits with a clear message directing users to a supported alternative (e.g. WSL2 on Windows)
  • No change to behaviour on supported platforms

Related

  • sdkman-cli #798 (empty sdk list java on Cygwin)
  • sdkman-cli #1219 (selfupdate broken on Cygwin)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions