title: IntelliJ's integrated Scene Builder for javafx not working in Oracle's JDK 12
body: <p>I am running Arch Linux, installed the latest IntelliJ package as well as Oracle's JDK12 (which the project uses) and Gluon's Scene Builder. The path to Scene Builder is correctly set up.</p>
  
  <p>The Scene Builder <em>works stand-alone</em>, also when launching from IntelliJ (I right-click my fxml file and choose "Open in SceneBuilder"). But when I want to use the integrated SceneBuilder tab from IntelliJ, rather than "Text", it shows the following error:</p>
  
  <pre><code>java.lang.ClassNotFoundException: javafx.embed.swing.JFXPanel PluginClassLoader[org.jetbrains.plugins.javaFX, 191.7479.19] com.intellij.ide.plugins.cl.PluginClassLoader@52568f8a
  
  java.lang.NoClassDefFoundError: javafx/embed/swing/JFXPanel
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/krTNC.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/krTNC.png" alt="error"></a></p>
  
  <p>The similar question <a href="https://stackoverflow.com/questions/34462377/intellijs-javafx-scene-builder-not-working">Intellij's javaFX scene builder not working</a> links to <a href="https://stackoverflow.com/questions/28615874/how-do-i-configure-intellij-idea-with-javafx-and-scenebulider/33595441#33595441">How do I configure IntelliJ IDEA with JavaFX and scenebulider?</a>, but this is set-up correctly with Oracle's JDK12 for me.</p>
  
  <p>The only thing I noticed that might help is that in my <code>Project Structure &gt; Platform Settings &gt; SDKs</code> there is no class path for javafx:</p>
  
  <p><a href="https://i.stack.imgur.com/0fofp.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0fofp.png" alt="SDKs"></a></p>
  
  <p>How can I get the integrated Scene Builder working?</p>