Monday, November 9, 2015

Customizing the Netbeans RPC Installer for Java Command Line parameters

Locate the app.conf file in "Netbeans"/harness/etc

This is used to build the installer for your RPC application.

For example, I needed more memory for my application, so I changed this:

# options used by the launcher by default, can be overridden by explicit
# command line switches
default_options="--branding ${branding.token} -J-Xms24m -J-Xmx64m"

To this:

# options used by the launcher by default, can be overridden by explicit
# command line switches
default_options="--branding ${branding.token} -J-Xms256m -J-Xmx1024m"


I've also added:
-Dsun.java2d.d3d=false
to hopefully turn off the wonky swing redrawing issues with Java 8

No comments:

Post a Comment