REFERENCE:

Parameters for Together.exe launcher

The Together.exe launcher is provided for use under Win32 operating systems. Parameters of this executable file may be used when invoking it from the command prompt.

Run Together.exe -h for complete .exe parameters 

When invoking Together.exe from the Windows command line (or batch files), specify its parameters before any other parameters. You can see the complete list of Together.exe's parameters by running it from the Windows Command prompt using the -h option.

Parameters for VM preferences

Note the presence of two parameters: -sun and -MSVM. These enable you to specify the preferred VM in cases where more than one is installed. By default, the Windows launcher first looks for the Microsoft JVM and uses it to run Together. Specifying -sun tells the launcher to prefer the Sun JVM (assuming it is present). If the preferred VM is not found on your computer, then another one is used. If no VM is found, the launcher returns an error message.

USAGE: Together.exe [options] [-c[class_name]] [parameters]

Valid options are:

Option

Description

 -?,-h,-help

print this usage message and exit

 -con,-nocon

how/don't show console (default without new console)

 -cmd

print launched command line

 -nowarn

do not show warning messages

 -full

load all *.zip/jar from TOGETHER\lib

 -profile

display time for common operation

 -v,-verbose

turn on verbose mode

 -verbosegc

print when garbage collection occurs

 -noasyncgc

disable asynchronous garbage collection

 -noclassgc

disable class garbage collection

 -ss<number>

maximum native stack size

 -oss<number>

 java maximum stack size

 -ms<number>

initial java heap size (default 64m)

 -mx<number>

maximum java heap size (default 512m)

 -D<name>=<value>

set system property (or -d:<name>=<value>)

 -Xbootclasspath <path>

set bootclasspath to <path> (Jre 1.2/1.3)

 -classpath <path>

  set classpath to <path>

 -cp <path>

prepend <path> to classpath

 -cp:p <path>

prepend <path> to classpath

 -cp:a <path>

 append <path> to classpath

 -nojit

disable JIT compiler

 -verify,-noverify

verify/don't verify classes when loaded

-verifyremote

verify network loaded classes (default by VM)

 -builtin

prefer built-in Java VM (Sun JRE) to other Java VM

 -sun12, -sun13

prefer Sun JRE 1.2/1.3 VM to other Java VM

 -nosystemcheck

don't check system memory size

 -c<class_name>

class name to run (default com.togethersoft.together.Main)

The rest of command line after -c or unknown parameter prefix is class_name or its parameters. By default, JDK 1.3 (installed with Together on Windows platforms) is used.

EXAMPLE:
Together -sun12 -ms16m param1 param2 param3

See also: Command Line Parameters