Go to main content
Oracle® Developer Studio 12.6: Debugging a Program with dbx

Exit Print View

Updated: June 2017
 
 

Specifying the Location of Your Java Source Files

Sometimes your Java source files are not in the same directory as the .class or .jar files. You can use the $JAVASRCPATH environment variable to specify the directories in which dbx should look for Java source files. The following example causes dbx to look in the listed directories for source files that correspond to the class files being debugged.

JAVASRCPATH=.:/mydir/mysrc:/mydir/mylibsrc:/mydir/myutils