# Pass JVM args to exported Windows exe

**URL:** <https://discourse.processing.org/t/pass-jvm-args-to-exported-windows-exe/28546>\
**Category:** Development\
**Created:** [March 15, 2021, 3:23pm UTC](https://discourse.processing.org/t/pass-jvm-args-to-exported-windows-exe/28546 "2021-03-15T15:23:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![onimatrix](https://avatars.discourse-cdn.com/v4/letter/o/e56c9b/32.png) [@onimatrix](https://discourse.processing.org/u/onimatrix)\
**Post date:** [March 15, 2021, 3:23pm UTC](https://discourse.processing.org/t/pass-jvm-args-to-exported-windows-exe/28546/1 "2021-03-15T15:23:50Z")

</div>

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!
