Pass JVM args to exported Windows exe

Hello community!
I’m working on a tool that’s meant to be as user friendly as possible.
It also needs a big chunk of memory.

I want to pass Xms and Xmx arguments to the JVM when the user runs the executable (and it has to be the executable, no accompanying batch file as it might “scare” users).
The only option I could find searching was the “java_args.txt” feature I found in an old Processing 1 forum. It is apparently not working anymore.
I’m also compiling through the command line processing-java, as I use Jenkins.

Thanks for your time!

1 Like