Skip to content

JDK-Tool falsely assumes extension of required tool. #10

@Jai-2001

Description

@Jai-2001

Running the JDK-Tool stage on Windows assumes that the extension of the desired tool will be ".exe", while some tools are known to use other extensions, such .cmd. This can be reproduced by caching a version of GraalVM, and attempting to run the "gu" tool which results in the following error.

[INFO] --- mvn-jlink-wrapper:1.2.0:jdk-tool (call-tool) @ {PACKAGE_NAME}---
[ERROR] Can't find file: C:\Users\{USERNAME}\.jdks\graalvm-ce-19\bin\gu.exe

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions