Java FX Project Properties: Run

See Also 

The Run panel lets you configure options for running your project. You can create several configurations and set the application class, application parameters, working directory for program execution, and VM options for each configuration. When running the application, you can easily switch the configuration in the drop-down list on the editor toolbar.

Configuration. All changes you make to the application class, parameters, and other options apply only to the configuration selected in the Configuration field. Configurations are saved in the <configuration_name>.properties file in the nbproject/configs directory of your project.

Click New to create a new runtime configuration. A dialog opens. Type or paste the new configuration's name in the Configuration Name field and click OK. You return to Project Properties: Run and the new configuration's name is in the Configuration field.

After a new configuration is created, it becomes available in the configuration drop-down list on the editor toolbar and you can switch configurations while running your project.

You can set the following options for a configuration:

Standalone Application Settings

Working Directory. In some cases, you might need to specify a separate working directory that will be used during application execution. If no value is specified, the project directory is used by default as a working directory.

Web Start and Browser Application Settings

See Also

Legal Notices