Skip to content

Fix Windows GraalVM installation#1687

Open
fallintoplace wants to merge 1 commit into
apple:mainfrom
fallintoplace:fix/windows-graalvm-install
Open

Fix Windows GraalVM installation#1687
fallintoplace wants to merge 1 commit into
apple:mainfrom
fallintoplace:fix/windows-graalvm-install

Conversation

@fallintoplace

Copy link
Copy Markdown

What changed

This updates the GraalVM install task so Windows installs use ZIP extraction instead of the Unix tar path. Windows now publishes the extracted directory by moving it into place, while macOS and Linux keep the existing tar extraction and symlink-based install flow.

Why

BuildInfo.GraalVm downloads .zip archives on Windows, but InstallGraalVm always ran tar --strip-components=1 -xzf and then tried to install by creating a symbolic link. That combination is fragile on Windows: the archive format does not match the extraction command, and symlink creation can require special privileges.

Validation

  • ./gradlew -p build-logic compileKotlin
  • ./gradlew -p build-logic check
  • ./gradlew help

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant