Question

I've been poking around the launch4j website and can't seem to figure out how to set the -server program option, there's an old forum post indicating it might be a future option but no further details are available.

Is it possible to run the JVM in server mode using Launch4j?

Was it helpful?

Solution

You can set it within <opt> node for <jre> in the configuration file

OTHER TIPS

or in Maven plugin configuration:

<jre>
    <minVersion>1.8.0_101</minVersion>
    <runtimeBits>64</runtimeBits>
    <opts>
        <opt>-server</opt>
    </opts>
</jre>
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top