If you find the setting removes the error, you can supply the same parameters when the user runs the jar.
If you start the jar from a batch file just add the same parameters as the VirtualMachineArgs.
I don't think you can change it from within a jar, as by that stage the JVM has been created.