You might need to customize startup of the JVM software from dbx to do certain tasks. Common tasks involving customization include the following::
You can customize startup of the JVM software using the jvm_invocation environment variable. By default, when the jvm_invocation environment variable is not defined, dbx starts the JVM software as follows
java -agentlib:dbx_agent=sync=process-ID
When the jvm_invocation environment variable is defined, dbx uses the value of the variable to start the JVM software.
You must include the -Xdebug option in the definition of the jvm_invocation environment variable. dbx expands -Xdebug into the internal options -Xdebug- Xnoagent -Xrundbxagent:sync.
If you do not include the -Xdebug option in the definition, as in the following example, dbx issues an error message.
jvm_invocation="/set/java/javasoft/sparc-S2/jdk1.2/bin/java"
dbx: Value of `$jvm_invocation’ must include an option to invoke the VM in debug mode