Click here to view and discuss this page in DocCommentXchange. In the future, you will be sent there automatically.

SQL Anywhere 10.0.1 » SQL Anywhere Server - Database Administration » Database Options » Introduction to database options » Alphabetical list of options

java_main_userid option [database] Next Page

java_vm_options option [database]

Specifies command line options that the database server uses when it launches the Java VM.

Allowed values



Empty string


Can be set for the PUBLIC group only. DBA authority required.


This option lets you specify options that the database server uses when launching the Java VM specified by the java_location option. These additional options can be used to set up the Java VM for debugging purposes or to run as a service on UNIX platforms. In some cases, additional options are required to use the Java VM in 64-bit mode instead of 32-bit mode.

See also

The following example uses the java_vm_options option to keep the Java VM running on Unix when the database server is started as a service and the user needs to log out:

SET OPTION PUBLIC.java_vm_options = '-Xrs'

The following example instructs the Java VM to use 64-bit mode on HP-UX:

SET OPTION PUBLIC.java_vm_options = '-d64'