title: Error: JavaFX runtime components are missing - JavaFX 11 and OpenJDK 11 and Eclipse IDE
body: <p>I have this classical issue: Using JavaFX 11 with OpenJDK 11 together with Eclipse IDE.</p>
  
  <pre><code>Error: JavaFX runtime components are missing, and are required to run this application
  </code></pre>
  
  <p>I have OpenJDK 11.0.2</p>
  
  <pre><code>dell@dell-pc:~$ java -version
  openjdk version "11.0.2" 2019-01-15
  OpenJDK Runtime Environment 18.9 (build 11.0.2+9)
  OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)
  dell@dell-pc:~$ 
  </code></pre>
  
  <p>And I also have <code>JavaFX 11 SDK</code>. By the way! I'm using Lubuntu Linux 18.10 if you wonder.
  <a href="https://i.stack.imgur.com/OWv6S.png" rel="noreferrer"><img src="https://i.stack.imgur.com/OWv6S.png" alt="enter image description here"></a></p>
  
  <p>Then I have included the <code>.jar</code> files from the <code>JavaFX 11 SDK</code> in Eclipse IDE into a library package.</p>
  
  <p><a href="https://i.stack.imgur.com/w94bE.png" rel="noreferrer"><img src="https://i.stack.imgur.com/w94bE.png" alt="enter image description here"></a></p>
  
  <p>Then I have included this library package into my <code>JAdaptiveMPC</code> project.
  <a href="https://i.stack.imgur.com/9Guqu.png" rel="noreferrer"><img src="https://i.stack.imgur.com/9Guqu.png" alt="enter image description here"></a></p>
  
  <p>I get no error in my code syntax, but still, I cannot compile my project. 
  <a href="https://i.stack.imgur.com/Tr0x7.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Tr0x7.png" alt="enter image description here"></a></p>
  
  <p>Do you know why? I got the same error if I import all those <code>.jar</code> files from Maven instead of download the <code>JavaFX SDK</code> and import it into a library.</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/xsd/maven-4.0.0.xsd"&gt;
    &lt;modelVersion&gt;4.0.0&lt;/modelVersion&gt;
    &lt;groupId&gt;Control&lt;/groupId&gt;
    &lt;artifactId&gt;JAdaptiveMPC&lt;/artifactId&gt;
    &lt;version&gt;0.0.1-SNAPSHOT&lt;/version&gt;
    &lt;dependencies&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.openjfx&lt;/groupId&gt;
          &lt;artifactId&gt;javafx&lt;/artifactId&gt;
          &lt;version&gt;13-ea+5&lt;/version&gt;
          &lt;type&gt;pom&lt;/type&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.openjfx&lt;/groupId&gt;
          &lt;artifactId&gt;javafx-base&lt;/artifactId&gt;
          &lt;version&gt;13-ea+5&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.openjfx&lt;/groupId&gt;
          &lt;artifactId&gt;javafx-controls&lt;/artifactId&gt;
          &lt;version&gt;13-ea+5&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.openjfx&lt;/groupId&gt;
          &lt;artifactId&gt;javafx-graphics&lt;/artifactId&gt;
          &lt;version&gt;13-ea+5&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.openjfx&lt;/groupId&gt;
          &lt;artifactId&gt;javafx-swing&lt;/artifactId&gt;
          &lt;version&gt;13-ea+5&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.openjfx&lt;/groupId&gt;
          &lt;artifactId&gt;javafx-web&lt;/artifactId&gt;
          &lt;version&gt;13-ea+5&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.openjfx&lt;/groupId&gt;
          &lt;artifactId&gt;javafx-media&lt;/artifactId&gt;
          &lt;version&gt;13-ea+5&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.openjfx&lt;/groupId&gt;
          &lt;artifactId&gt;javafx-fxml&lt;/artifactId&gt;
          &lt;version&gt;13-ea+5&lt;/version&gt;
      &lt;/dependency&gt;
    &lt;/dependencies&gt;
  &lt;/project&gt;
  </code></pre>
  
  <p><strong>Continue</strong></p>
  
  <p>I have added this in the <code>Run Configuration</code></p>
  
  <p><a href="https://i.stack.imgur.com/gj2gM.png" rel="noreferrer"><img src="https://i.stack.imgur.com/gj2gM.png" alt="enter image description here"></a></p>
  
  <p>And then I try to run
  <a href="https://i.stack.imgur.com/Kul20.png" rel="noreferrer"><img src="https://i.stack.imgur.com/Kul20.png" alt="enter image description here"></a></p>
  
  <p>Still errors.</p>