Key | Description |
working.directory |
This will be the current directory for the app. It can be relative to your executable. |
classpath.1, classpath.2, ..., classpath.n |
Classpath entries. These will be relative to the working directory above. They can be wildcards (eg. *.jar) |
main.class |
This is the java class that will be run |
vmarg.1, vmarg.2, ..., vmarg.n |
Java VM args. These will be passed on to the VM. |
vm.version.max |
The maximum allowed version (1.0, 1.1, 1.2, 1.3, 1.4, 1.5). |
vm.version.min |
The minimum allowed version (1.0, 1.1, 1.2, 1.3, 1.4, 1.5). |
vm.version |
Specify an exact version to use (eg. 1.5.0_07). |
vm.location |
Specify the location of the JVM dll you want to use. This is useful when you package
your own JRE with your app. |
vm.heapsize.max.percent |
Specify
a proportion of the available physical memory to use (ie. relates to
-Xmx arg). For example, vm.heapsize.max.percent=75. Note that this will
use the maximum memory possible. |
vm.heapsize.min.percent |
Specify a proportion of the available physical memory to use as the minimum starting heap size (ie. relates to -Xms arg). |
vm.heapsize.preferred |
Specify
a preferred amount (in MB) for the heap size (ie. relates to -Xmx arg).
If this amount is not available it will use the maximum amount possible
given the physical memory available. |
arg.1, arg.2, ..., arg.n |
Program arguments. These will be sent before any command line arguments. |
log |
Standard out and error streams will be redirected to this file (including launcher messages and JNI logging). |
log.level |
Specify the logging level. One of "info", "warning", "error", "none". Default is "info". |
log.overwrite |
Set to "true" to cause the log file to be overwritten each time the application/service is launched. |
log.file.and.console |
Set to "true" to output to the console and the log file (if present).
Note: this only applies to WinRun4J log messages and Java logging using the Log class. |
log.roll.size |
A decimal value in megabytes for the max log size before rolling. Old logs
are moved to logname-[timestamp].extension.
|
log.roll.prefix |
Customizes the rolled log file prefix to [prefix]-[timestamp].extension
|
log.roll.suffix |
Customizes the rolled log file suffix to [prefix]-[timestamp][suffix]
|
log.output.debug.monitor |
Useful for monitoring services. Set this to "true" to log to the debug monitor. Use DebugView to view. For Vista/Windows 7 see here if you don't see the output.
|
splash.image |
The name of the splash image file to display (This can be gif, jpg or bmp).
This will auto-hide itself when it detects the first application window. |
splash.autohide |
A flag to disable the splash screen autohide feature ("true"). |
dde.enabled |
This flag needs to be set to "true" to enable DDE. |
dde.class |
Optional flag to send execute commands to your class. |
dde.server.name, dde.topic, dde.window.class |
Override the DDE server name, topic and window class. |
single.instance |
This will detect another instance of the application running and will shutdown if one is found.
It takes the following options:
- "process", this will simply detect if a process for the same executable is present and shutdown.
- "window", this will detect if a process for the same executable is present and if there is a visible window - if this is the case it will set the window to the front and then shutdown.
- "dde", this will simply detect if a process for the same executable and if dde is enabled it will fire a dde activation call (and then shutdown), which can be picked up by the other process. If dde is not enabled it will simply defer to the "window" method.
|
process.priority |
This is can be one of "idle", "below_normal", "normal", "above_normal", "high", "realtime". |
service.class |
This is the java class that will be run (for a service) |
service.id |
This is the ID of the service (used for registration) |
service.name |
The name of the service. This will appear in the service control panel. |
service.description |
The description on the service. This will appear in the service control panel. |
service.controls |
The control commands accepted by the service. This can one or multiple of "stop", "shutdown", "pause", "param", "netbind", "hardward", "power", "session". For multiple simply OR together (eg. service.controls=stop|shutdown). The default is "stop|shutdown". |
service.startup |
Can be one of "auto", "boot", "demand", "disabled", "system". The default is "demand" |
service.dependency.1, service.dependency.2, .... |
Specifies a set of services that this service depends on. |
service.loadordergroup |
Specifies the service's load order group. |
service.user |
Specifies the account to run the service under. |
service.password |
Specifies the password for the user account. |
console.title |
Sets the console title (only for console version of launcher). |
ini.file.location |
The addin will include INI keys from the file location specified (eg "C:\Program Files\MyApp\include.ini ") |
ini.registry.location |
The addin will include INI keys from the registry location specified (eg "HKEY_CURRENT_USER\Software\MyApp "). Currently only string and DWORD values are supported |
ini.override |
A flag ("true"/"false") to indicate if an external INI file can override values from an embedded one. |
INI values can contain environment variables, which will be substituted on startup, eg