Chuck,Thanks for the prompt response. During the installation and initial setup, I changed the artifact versions per instructions given by Getting Started with JavaFX
| | | | Getting Started with JavaFX Getting started with JavaFX for Java desktop application development | | | Here is the snap-shot of my pom.xml for these artifacts. Am I missing something else? <dependencies> <dependency> <groupId>org.openjfx</groupId> <artifactId>javafx-controls</artifactId> <version>14</version> </dependency> <dependency> <groupId>org.openjfx</groupId> <artifactId>javafx-fxml</artifactId> <version>14</version> </dependency> </dependencies> Thanks On Monday, August 10, 2020, 3:39:52 PM GMT+4:30, Chuck Davis <cjgun...@gmail.com> wrote: Update your POM to latest versions of Maven artifacts. On Mon, Aug 10, 2020 at 3:34 AM HRH <hrh...@yahoo.com.invalid> wrote: I forgot to indicated, that I have already modified the <configuration> <!-- <mainClass>org.openjfx.mavenbasedlearningfx.App</mainClass> --> <mainClass>org.me.learningfx.control.MavenFxBasicDemo</mainClass> </configuration> in the pom.xml file. Thanks On Monday, August 10, 2020, 2:54:09 PM GMT+4:30, HRH <hrh...@yahoo.com.invalid> wrote: Hi, While using "Java with Maven"->FXML JavaFX Maven Archtype" works fine to run its pre-configured App.java, creating a new package with a new main class fails to compile with the following error. Any insights on which resources need to be modified? Thanks in advance. Error msg:Error: JavaFX runtime components are missing, and are required to run this application Command execution failed. ............................ org.apache.commons.exec.ExecuteException: Process exited with an error: 1 (Exit value: 1) at org.apache.commons.exec.DefaultExecutor.executeInternal (DefaultExecutor.java:404) ------ Total time: 5.034 s Finished at: 2020-08-10T14:49:10+04:30 ------------------------------------------------------------------------ Failed to execute goal org.codehaus.mojo:exec-maven-plugin:1.5.0:exec (default-cli) on project Mavenbasedlearningfx: Command execution failed.: Process exited with an error: 1 (Exit value: 1) -> [Help 1]