title: JavaFX 11 doesn't work with JDK 11, intellij idea
body: <p>Trying to get JavaFX 11 working.</p>
  
  <ol>
  <li>Downloaded JavaFX 11</li>
  <li>Created JavaFX project in IntelliJ IDEA</li>
  <li>Run -> Edit configurations -> VM options -> --module-path="path-to-javafx/javafx-sdk-11.0.1/lib" --add-modules=javafx.controls,javafx.fxml</li>
  <li><p>Got an error:</p>
  
  <pre><code>Error occurred during initialization of boot layer
  java.lang.module.FindException: Module javafx.controls not found
  
  Process finished with exit code 1
  </code></pre></li>
  </ol>
  
  <p>What should I do to make this work?</p>