Set a method for determining the application's main class

The Archive Builder and the Native Executable Builder are features of JBuilder SE and Enterprise.

This step allows you to set the application's main class, which runs the application. It contains the public static void main(String[] args) method.

Determine main class from runtime configurations

Uses the main class specified in the default runtime configuration on the Run page of the Project Properties dialog box. If a default runtime isn't specified on the Run page, the first configuration in the list is used. If an application runtime doesn't exist or the one selected doesn't have a main class, the archive won't have a main class specified.

Caution: If a main class isn't specified, the following won't execute:

Use The Class Specified Below

Uses the class specified in the Class field as the main class. Click the ellipsis button to browse to the class.