ILOG JRules User Guide > Running and Debugging > Tasks > Building and Running > Running a Java Application with Rules > Setting Up a Launch Configuration

You can also set up a launch configuration in Rule Studio.

To set up the configuration:

  1. Select Run > Run. The Run dialog box opens.
  2. In the Configurations area, select Java Application with Rules and click New. A New_Configuration item appears in the Configurations area. Type a name for the configuration in the Name field.
  3. In the Main page, set up your configuration as follows:
    1. Browse to select the Java project for rules you want to run in the Project field.
    2. Search to select the main class (generated from a template) in the Main class field.
    3. Select the Stop at first rule statement box if you want to stop at the first rule statement.
  4. In the Source page, set the rule source path if you want to be able to open IRL source files when debugging. See Setting the Rule Source Path for details.
  5. Click Apply to save your configuration. Then, click Run.

Related Concepts

Launch Configurations

Related Tasks

Creating a Debugger Launch Configuration
Setting the Rule Source Path
Running a Rule Project