Optional command line arguments

This is a selection of additional command line options that alter the behaviour of the client.


Option Effect
-data path The path of the workspace on which to run the client platform. The workspace location is also the default location for projects.
-vm path The location of Java Runtime Environment ( JRE) to use to run the client platform.
-vmargs args When passed to the client, this option is used to customise the operation of the Java VM used to run the client. If specified, this option must come at the end of the command line. The given arguments are dependent on the VM that is being run. VM arguments can also be added to the end of the $UNICORE\_Rich\_Client.ini$ file, one per line.

Examples:

  1. Use c:$\backslash$myProjects as workspace directory:
    $\noindent\colorbox{lightyellow}{\begin{minipage}{20cm}
\begin{alltt}
\relax{} U...
...ich\_Client.exe -data c:$\backslash$myProjects\relax \end{alltt}\end{minipage}}$
  2. Java is installed at c:$\backslash$jre$\backslash$bin:
    $\noindent\colorbox{lightyellow}{\begin{minipage}{20cm}
\begin{alltt}
\relax{} U...
...lient.exe -vm c:$\backslash$jre$\backslash$bin\relax \end{alltt}\end{minipage}}$
  3. Allow the Java heap to use up to 256 MB of memory:
    $\noindent\colorbox{lightyellow}{\begin{minipage}{20cm}
\begin{alltt}
\relax{} UNICORE\_Rich\_Client.exe -vmargs -Xmx256M\relax \end{alltt}\end{minipage}}$

Bastian Demuth
2010-05-25