Similarly in Eclipse, you can set up your project to assemble and build your applications
automatically to target the desired execution environment automatically. To accomplish
this in Eclipse, do the following:
1. Select Run-Configurations from the Run menu for your project.
2. Then specify how you want to build your application by selecting the desired profile,
as shown in the next screenshot.
How it works...
Both IDEs support functionalities that allow developers to build and package their applications
to target the different runtimes or profiles supported by JavaFX. As shown in the previous
figures, you have the ability to specify one of the following runtimes as a build setting:
Select this to deploy your application
to run as a standalone raw jar with the
javafx launcher (see next Launch your
application with the javafx launcher
This setting packages the project to run
within the Web Start runtime.
Select this to deploy your application as
This setting is used to run an application
within the Mobile runtime.
Use this setting to target the TV runtime.