Command line arguments passed to the startup scripts will be forwarded to JGrafchart. If you want to send parameters to the JVM you need to modify the startup scripts.
The working directory for JGrafchart must always be bin/, the startup scripts make sure that this is the case. Relative paths are always interpreted as relative to the working directory.
It is recommended to send the command line argument -Xincgc to the JVM to enable incremental Java GC and avoid occasional freezing. The startup scripts do this by default.
Command line arguments:
-connect <makeConnect>
Triggers an automatic connection to the CCOM server if makeConnect = 1. (default: 0)
-debug
Intended for JGrafchart developers only. Customizations that make debugging more convenient, e.g. no Overrun notifications.
--dpwsDiscovery <networkInterface/IPv4>
Select network interface or IPv4 address to use for WS-Discovery. (default: <default>)
-geometry <width>x<height>
Sets the initial size of the JGrafchart window (default: 1024x768)
-graphicalSteps <mode>
With mode = 1 it is possible to set step images. (default: 0)
-load <path>
Opens the application path during startup.
-loadcompile <path>
Opens and compiles the application path during startup.
-loadcompilestart <path>
Opens, compiles, and starts the application path during startup.
The implementation class for the custom IO. (default: grafchart.sfc.io.lund.LundLocalIO)
-name <name>
Sets the name of the JGrafchart instance. This will also be the identifier used in CCOM communication. (default: JGrafchart)
-plain <mode>
With mode = 1 JGrafchart is started in slimmed mode. (default: 0)
-port <portNumber>
Sets the port number that the CCOM server listens to. (default: 3412)
-serverIP <IP>
Sets the CCOM server IP address. Note: Localhost is not a valid value. (default: <none>)
-undo
Enables the experimental Undo/Redo feature.
-windows <style>
Sets the UI look-and-feel. 0 = Standard Java look-and-feel, 1 = Windows look-and-feel. (Default: 0)