If you want to make sure that your artifact is built correctly, create a new run configuration and run it as described in the section Run the packaged application. In the popup that opens, select the necessary artifact and select Build.īy default, the artifact is generated to \out\artifacts\. Build the artifactįrom the main menu, select Build | Build Artifacts. For the detailed description of each option, refer to Java FX tab. You can specify additional options on the JavaFX tab. This is a basic configuration that is sufficient to package an application. Switch to the JavaFX tab and in the Application class field, specify the main() method. IntelliJ IDEA creates the artifact configuration and shows its settings in the right-hand part of the Project Structure dialog. However, you can create a new artifact configuration with your custom settings.įrom the main menu, select File | Project Structure Ctrl Alt Shift S and click Artifacts.Ĭlick, point to JavaFx Application, and select From module '.'. IntelliJ IDEA creates the artifact for packaging the application together with the project. For JavaFX applications, IntelliJ IDEA provides a dedicated artifact type: JavaFx Application. You can package your JavaFX application by building the corresponding artifact (a Java archive).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |