Skip to content

Comments

fix(runner): use argfile for classpath to avoid Windows cmd length limit#470

Open
mKrswe wants to merge 2 commits intonvim-java:mainfrom
mKrswe:fix/windows-long-classpath
Open

fix(runner): use argfile for classpath to avoid Windows cmd length limit#470
mKrswe wants to merge 2 commits intonvim-java:mainfrom
mKrswe:fix/windows-long-classpath

Conversation

@mKrswe
Copy link
Contributor

@mKrswe mKrswe commented Jan 24, 2026

Fixes #465
argFile is only used when using Windows and the would be too long.
I also change the classpath seperator to be conditional as Windows is using ';'

@s1n7ax
Copy link
Member

s1n7ax commented Jan 30, 2026

@mKrswe We for sure don't exceed 8000 args. Was it because of the class path separator is : on windows, windows identified each as a separate arg?

@mKrswe
Copy link
Contributor Author

mKrswe commented Jan 30, 2026

@s1n7ax I am not completely sure to be honest. As of now there are some new comments in the Issue stating that it was a problem with the configuration.
I could edit the PR only setting the seperator on windows and deleting the argFile stuff, or leave as is for the case 8000 characters are exceeded

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.

Cannot run spring boot application

2 participants