Using JavaFX 17 with Gluon in IntelliJ IDEA
As 17 is the newest LTS version of both Java and JavaFX, I would prefer to use them, but when I try to install the Gluon plugin through the plugin browser inside IDEA (as there is no manual install for it, atleast as far as I know), it prompts me to install the JavaFX Runtime plugin first, but the newest version of JavaFX available through the plugin browser is 11 and not 17. I have already manually installed both Java 17 and JavaFX 17 on my computer and they both show up inside IDEA, so do I just have to accept to installing version 11 from the prompt aswell, but then just manually change it from the project settings back to 17 when creating a JavaFX project? Or do I actually have to use the older plugin browser version of JavaFX if I want to use the Gluon plugin in a project?
Please sign in to leave a comment.
Hi, if a plugin requires 'JavaFX Runtime for plugins' to be installed, this means this plugin uses JavaFX APIs to implement its UI. So it should be more about the Gluon plugin and not your project, and you need to install this plugin for Gluon to work. Regarding JDK setup in Gluon project, I'd recommend to look into Gluon specifications