title: Building an executable JavaFX app with java SDK 11.0.6
body: <p>I have a JavaFX app that I have successfully built and run with Java SDK 1.8.  I am trying to move it to Java 11 with an ultimate goal of using Java 14 and can not create a runnable jar.  To try and understand the process I have downloaded the javafx helloFX example and tried to follow the instructions at <a href="https://openjfx.io/openjfx-docs/#modular" rel="nofollow noreferrer">https://openjfx.io/openjfx-docs/#modular</a> for Maven.  When I run the mvn clean javafx:jlink I get the error:</p>
  
  <pre><code>[INFO] Scanning for projects...
  [INFO]
  [INFO] ------------------------&lt; org.openjfx:hellofx &gt;-------------------------
  [INFO] Building demo 1.0-SNAPSHOT
  [INFO] --------------------------------[ jar ]---------------------------------
  [INFO]
  [INFO] --- maven-clean-plugin:2.5:clean (default-clean) @ hellofx ---
  [INFO] Deleting C:\Users\jungl\eclipse-workspace\helloFX\Maven\hellofx\target
  [INFO]
  [INFO] --- javafx-maven-plugin:0.0.3:jlink (default-cli) @ hellofx ---
  [INFO] Using 'UTF-8' encoding to copy filtered resources.
  [INFO] skip non existing resourceDirectory C:\Users\jungl\eclipse-workspace\helloFX\Maven\hellofx\src\main\resources
  [INFO] Changes detected - recompiling the module!
  [INFO] Compiling 1 source file to C:\Users\jungl\eclipse-workspace\helloFX\Maven\hellofx\target\classes
  [INFO] ------------------------------------------------------------------------
  [INFO] BUILD FAILURE
  [INFO] ------------------------------------------------------------------------
  [INFO] Total time: 2.345 s
  [INFO] Finished at: 2020-04-14T14:52:18+01:00
  [INFO] ------------------------------------------------------------------------
  [ERROR] Failed to execute goal org.openjfx:javafx-maven-plugin:0.0.3:jlink (default-cli) on project hellofx: Error: jlink requires a module descriptor -&gt; [Help 1]
  [ERROR]
  [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
  [ERROR] Re-run Maven using the -X switch to enable full debug logging.
  [ERROR]
  [ERROR] For more information about the errors and possible solutions, please read the following articles:
  [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
  </code></pre>
  
  <p>The pom.xml is</p>
  
  <pre><code>&lt;project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
    xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd"&gt;
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
    &lt;groupId&gt;org.openjfx&lt;/groupId&gt;
    &lt;artifactId&gt;hellofx&lt;/artifactId&gt;
    &lt;packaging&gt;jar&lt;/packaging&gt;
    &lt;version&gt;1.0-SNAPSHOT&lt;/version&gt;
    &lt;name&gt;demo&lt;/name&gt;
    &lt;url&gt;http://maven.apache.org&lt;/url&gt;
  
    &lt;properties&gt;
      &lt;project.build.sourceEncoding&gt;UTF-8&lt;/project.build.sourceEncoding&gt;
    &lt;/properties&gt;
  
    &lt;dependencies&gt;
      &lt;dependency&gt;
        &lt;groupId&gt;org.openjfx&lt;/groupId&gt;
        &lt;artifactId&gt;javafx-controls&lt;/artifactId&gt;
        &lt;version&gt;11&lt;/version&gt;
      &lt;/dependency&gt;
    &lt;/dependencies&gt;
    &lt;build&gt;
      &lt;plugins&gt;
        &lt;plugin&gt;
          &lt;groupId&gt;org.openjfx&lt;/groupId&gt;
          &lt;artifactId&gt;javafx-maven-plugin&lt;/artifactId&gt;
          &lt;version&gt;0.0.3&lt;/version&gt;
          &lt;configuration&gt;
            &lt;mainClass&gt;HelloFX&lt;/mainClass&gt;
        &lt;jlinkImageName&gt;hello&gt;&lt;/jlinkImageName&gt;
        &lt;jlinkZipName&gt;hellozip&gt;&lt;/jlinkZipName&gt;
          &lt;/configuration&gt;
        &lt;/plugin&gt;
      &lt;/plugins&gt;
    &lt;/build&gt;
  &lt;/project&gt;
  &lt;!-- https://mvnrepository.com/artifact/com.zenjava/javafx-maven-plugin --&gt;
  </code></pre>
  
  <p>Can anyone point me in the correct direction as I am failing to understand the issue.</p>