Below are details on the supported command-line arguments and instruction for starting the Rhino SDK under Linux or Windows.

Command-line arguments

The Rhino SDK start scripts for Linux and Windows both support the following command-line options:

Option Purpose
-j <JAVA_HOME>

Specifies the path to a JDK installation that should be used to run the Rhino SDK. This option only has effect when starting the Rhino SDK for the first time. After the first start the file config/config_variables is read to find the JDK.

Important If you have not configured the JAVA_HOME environment variable, you must provide this argument the first time you start the Rhino SDK.
-s

Indicates that Rhino should be started with the SLEE in the Running state.

-x

Indicates that Rhino should be started with the SLEE in the Stopping state.

Note

The -s and -x options are mutually exclusive.

In the case neither the -s nor -x option is specified, the following default behaviours occur:

  • If it is the first time that the Rhino SDK is started (or the persistent database has been reinitialised), then then SLEE starts in the Running state.

  • If the Rhino SDK has been shutdown and restarted, then the SLEE starts in whatever operational state it had before the previous shutdown.

Run start-rhino.sh with Linux

To start the Rhino SDK, execute the start-rhino.sh shell script in the RhinoSDK folder.

Run start-rhino.bat with Windows

To run the Rhino SDK, double-click to execute the start-rhino.bat script in the RhinoSDK folder.

Tip It might be useful to change the size of the window running Rhino, so that logging messages are easier to see. To do this, right-click on the title bar of the window running Rhino and select Properties. Then under Layout, change the screen buffer size to a height of 9999 and the width and height of the window to whatever provides enough visibility.
Previous page Next page