You can debug a C application or C++ application that embeds a Java application using the JNI_CreateJavaVM interface. The C application or C++ application must start the Java application by specifying the following option to the JVM software:
–agentlib:dbx_agent
For the JVM software to locate libdbx_agent.so, you need to add the appropriate path to LD_LIBRARY_PATH before running the Java application. See Attaching dbx to a Running Java Application.
The install-dir is the location where the Oracle Solaris Studio software is installed.