Skip to content

Fix jlink launcher execution failure on Windows CI#397

Merged
vy merged 2 commits into
apache:mainfrom
ramanathan1504:fix-jlink-windows-build
May 19, 2026
Merged

Fix jlink launcher execution failure on Windows CI#397
vy merged 2 commits into
apache:mainfrom
ramanathan1504:fix-jlink-windows-build

Conversation

@ramanathan1504
Copy link
Copy Markdown
Contributor

Fixes #395

Resolve 'CreateProcess error=2' on Windows by adding a profile to invoke the .bat launcher script via 'cmd /c'.

https://github.com/ramanathan1504/logging-log4j-samples/actions/runs/25513553770

Copy link
Copy Markdown
Member

@vy vy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ramanathan1504, have you tested this on Windows?

Comment thread log4j-samples-jlink/pom.xml
@vy
Copy link
Copy Markdown
Member

vy commented May 18, 2026

have you tested this on Windows?

@ramanathan1504, if not, you can grab [a Windows 11 image] and try to run the associated Maven phase/goal there.

@ramanathan1504
Copy link
Copy Markdown
Contributor Author

have you tested this on Windows?

@ramanathan1504, if not, you can grab [a Windows 11 image] and try to run the associated Maven phase/goal there.

"Yes, it has been tested on Windows. The CI pipeline in my forked repository runs a matrix build across macOS, Ubuntu, and Windows. The build (windows-latest) job passed successfully.

You can verify the successful run here: https://github.com/ramanathan1504/logging-log4j-samples/actions/runs/25513553770"

@vy vy merged commit 2560f38 into apache:main May 19, 2026
0 of 11 checks passed
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.

-pl :log4j-samples-jlink exec:exec@run-custom-jlink-launcher fails on Windows

2 participants