Creating a Java Application Launch Configuration
Use the following procedure to create a Java Application launch configuration.
To create a Java Application launch configuration
1. In Designer: Run > Debug Configurations
2. In the Debug Configurations dialog box, select Java Application and click to add a new launch configuration. 3. On the Main tab in the Project field, specify the Service Development Project that contains the test harness and the Java class that you want to debug.
4. In the Main Class field, specify the fully-qualified name for the test harness Java class.
6. On the JVM tab, optionally specify any Program or JVM arguments you want to use.
7. On the JRE tab, specify whether to use the default JRE or an alternate JRE that you identify.
To use the default JRE, that is the JRE in the
Service Development Project, select
Project JRE.
To identify an alternate JRE, select
Alternate JRE and click
Installed JREs to select the JRE to use.
8. On the Classpath tab, optionally add, re-arrange, or remove the class files to use when executing the Java class in debug mode.
9. On the Source tab, optionally update the source lookup path.
10. On the Environment tab, optionally add environment variables.
11. On the Common tab, if you want to share this launch configurations with other developers, select the Shared file check box and specify a workspace location in which to save the configuration.
12. Click Apply.
13. Click Debug to immediately launch the test harness Java class in debug mode using this launch configuration, or click Close.