java_vm_options option [database]

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

Allowed values

String

Default

Empty string

Scope

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

Remarks

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
Example

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';