Java Reference
In-Depth Information
Figure 5.17 The Run/Debug Configurations window lets you define named sets of
contextual information about how to run and debug your applications, making the actual
act of running or debugging as simple as a single mouse click.
In version 5.0, two additional tabs have been added: configurations for
J2ME
applications and for IntelliJ
IDEA
Plugin sandboxes.
Creating a new configuration profile
To create a new configuration profile, make sure the
Application
tab is selected in
the
Run/Debug Configurations
window, and click the
Add
(plus sign) icon to cre-
ate a new entry in the configuration list. If you've already created some configu-
ration profiles, you can use the
Copy
icon to duplicate an existing profile to use as
a starting point. The new profile is created without a useful name, so assign one
by editing the
Name
field. This name is used to identify the profile in the
Run/
Debug
drop-down list on the main toolbar and can be anything you'd like. Next,
you need to specify the class containing the main method you'll be executing.