-
Notifications
You must be signed in to change notification settings - Fork 1
DevFaqJavaStartParms
This is simple to do but hard to figure out. <ol> <li>Define the run.args.extra property in the suite’s platform.properties file. (i.e. run.args.extra=-J-Xms48m -J-Xmx512m)</li> <li>Add/edit this target to your suite’s build.xml file:
<target name="build-launchers" depends="suite.build-launchers">
<replace file="build/launcher/etc/${app.name}.conf">
<replacefilter token="/dev" value="/${app.version}" />
<replacefilter token="-J-Xms24m -J-Xmx64m" value="${run.args.extra}" />
</replace>
</target>
</li> <li>Build your application.</li> Note: The above will work with any distribution method (i.e. zip, installer, etc…) </ol>
The content in this page was kindly donated by Oracle Corp. to the Apache Software Foundation.
This page was exported from http://wiki.netbeans.org/DevFaqJavaStartParms , that was last modified by NetBeans user Javydreamercsw on 2011-09-21T20:28:28Z.
NOTE: This document was automatically converted to the AsciiDoc format on 2018-01-26, and needs to be reviewed.
Apache NetBeans is an effort undergoing incubation at The Apache Software Foundation (ASF).
Incubation is required of all newly accepted projects until a further review indicates that the infrastructure, communications, and decision making process have stabilized in a manner consistent with other successful ASF projects.
While incubation status is not necessarily a reflection of the completeness or stability of the code, it does indicate that the project has yet to be fully endorsed by the ASF.
This wiki is an experiment pending Apache NetBeans Community approval.