i am getting "The command line is too long" for a project i'm testing on windows it looks like the classpath is passed on the command line as-is for the final invocation of the jvm in ClojureTools.psm1 based on the content of the .cp file in .cpcache, it looks like the classpath in question exceeds 8192 characters i understand there are some "classical" suggestions for this type of situation -- if it turns out ClojureTools.psm1 is affected, has any thought been given to whether this might be coped with by ClojureTools?
I'm afraid this is somewhat fundamental limitation of the windows platform. I've seen somewhere that classpath can be read from a prepared file, where there should be no such draconian size limit. Another thing that could help is having a module a jigsaw module, but don't know if that's possible. Loading from location using wildcards also can shrink the classpath little bit. But no general solution that I know of.
i have done a bit of research (@-files, pathing jar, wildcard classpath, env var) and have a couple of additional ideas i have not seen mentioned involving symlinks (which might be acceptable for w10 in dev mode). had not heard of the jigsaw module idea - would that require java 9 and above?
for reference, i've been making notes starting at the following comment: https://github.com/taylorwood/clj.native-image/issues/18#issuecomment-559234753