title: Running javafx sample on JDK 11 with OpenJFX 11 JMODS on Module Path
body: <p>I have downloaded the JavaFX Jmod files from OpenJFX project and placed them in the directory <code>G:\openjfx\javafx-jmods-11</code>. I am using OpenJDK 11 which has no JavaFX jmod in <code>JAVA_HOME/jmods</code> i.e it doesn't come with JavaFX distribution. </p>
  
  <p>Module info file:</p>
  
  <pre><code>module gui{
      requires javafx.graphics;
      requires javafx.controls;
  
      exports com.test;
  }
  </code></pre>
  
  <p>I compile with following: </p>
  
  <pre><code>javac -p G:\openjfx\javafx-jmods-11 -d mods --module-source-path src 
      src\gui\com\test\*.java src\gui\module-info.java
  </code></pre>
  
  <p>Compilation succeeds. But I am unable to run the compiled code using the below command:</p>
  
  <pre><code>java -p G:\openjfx\javafx-jmods-11;mods -m gui/com.test.CreateGuiDemo
  </code></pre>
  
  <p>But I get the below error:</p>
  
  <pre><code>Error occurred during initialization of boot layer
  java.lang.module.FindException: Module javafx.graphics not found, required by gui
  </code></pre>