Oracle® Solaris Studio 12.4: Debugging a Program With dbx

Exit Print View

Updated: January 2015
 
 

Specifying a Path Name for the JVM Software

By default, dbx starts the JVM software in your path if you do not specify a path name for the JVM software.

To specify a path name for the JVM software, set the jvm_invocation environment variable to the appropriate path name, as shown in the following example.

jvm_invocation="/myjava/java -Xdebug"

This setting causes dbx to start the JVM software as follows:

/myjava/java –agentlib:dbx_agent=sync