When starded with no option [JSup] will show the [JSup Application menu|Application menu].
In [JSup production installation and configuration|production environment] it's better to not show the [JSup Application menu|Application menu], but to [JSup Create link to application|create a link to run the application].
=== Run JSup as a client ===
To create a link to run [JSup] in [JSup execution modes|client mode]:
* '''copy''' the standard [JSup] link (created in the Windows ''Starts'' menu when [JSup download and install|JSup was installed]) where you want.
* edit the copied link and '''add the following parameters''' to its command line:
-clientOf ''
''
where ''serverAddress'' is the [http://en.wikipedia.org/wiki/Ip_address|IP address] or the [http://en.wikipedia.org/wiki/Domain_Name_System|DNS] [http://en.wikipedia.org/wiki/Hostname|hostname] of the host where the [JSup execution modes|JSup server] is running (to connect with a [JSup execution modes|server] instance that is running and the same PC/Server you can use 127.0.0.1 (as IP) or localhost (as hostname).
=== Run JSup as a service ===
See [Run JSup as a service].
=== Command line reference ===
The following options can be used to customize the execution mode of [JSup].
{| border=1 cellspacing=0
!Options
!Description
|-
|-appdir
|Specify the JSup application [JSup application#Directory|dir] or [JSup application#Compressed file|archive] (if not specified the [application menu|Application menu] will be displayed), path that contains spaces must be quoted.
|-
|-run
|Specify that the application must be started in runtime instead for edit (must be used with the -appdir option)
|-
|-clientOf
|Connect as client of the specified server (server address can be an ip address or a host name)
|-
|-justShutdownServer
|Must follow -clientOf option, does not start the client but only shutdown the specified JSup server
|-
|-serverOnly
|Run a [JSup execution modes|server only] instance of JSup (no user interface, client needed)
|-
|-serverAddr
|Specify the ip address the server will listen for connection from clients (all availables addresses by default)
|-
|-serverPort
|Specify the server listening TCP port (must be used with the same port number both on server and client, default is 945)
|-
|-httpServerPort
|Specify the HTTP server listening TCP port or 0 to disable HTTP server (default is 8080 or [JSup Application properties#Properties|application specific port])
|-
|-outputFilePrefix
|Specify the [JSup standard output file|output file] prefix for standard output recording: '.out' suffix will be added to current output file in current directory, if 'logs' subdir exists then previous execution file will be compressed there, [JSup execution modes|service] default prefix is 'service'
|-
|-disableAutoOutputFile
|Disable the creation of the [JSup standard output file].
|-
|-showTitleBar
|Force to show the JSup window title bar at runtime (this overrides the corresponding [JSup Application properties#Options|application option]).
|-
|-hideTitleBar
|Force to hide the JSup window title bar at runtime (this overrides the corresponding [JSup Application properties#Options|application option]).
|-
|width=220|-singleInstance ""
|Force to run a single user interface of an application on the current desktop, if exising window is found then it will be showed instead of running a new instance.
|}