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)
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, emptysdk 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 -sreturnsCYGWIN_NT-*on Cygwin — this is a reliable signal.Acceptance criteria
CYGWIN_NT-*fromuname -sRelated
sdk list javaon Cygwin)