Setting the Boot Class Path For Debugging

The boot class path sets the path to the Java system libraries that the IDE uses when debugging programs. By default the IDE uses the default Java platform to debug sources.

To specify the boot class path:

  1. From the main window, choose Tools and choose Options.
  2. In the Options window, expand Debugging and Executing and expand Debugger Types.
  3. Select the Default Debugging node.
  4. On the Properties tab, find the External Process property, click its value, and click the ellipsis (...) button.

    The External Process property editor is displayed. The boot class path is specified as follows:

    {q}{bootclasspathSwitch}{bootclasspath}{q}

  5. Replace the above pattern with the appropriate switch. For example:

    {q}-Xbootclasspath/a:MyLibrary.jar{q}

See also
Enabling Assertion Checking for Debugging

Legal Notices