Getting error while creating JavaFX11 application in Apache Netbeans 10

pappu_kutty picture pappu_kutty · Jan 4, 2019 · Viewed 21.7k times · Source

i am new to java fx and i have downloaded Apache Netbeans 9 which runs on java 11.

since java fx is shipped separately, i have downloaded openjfx-11.0.1_SDK and followed steps in this link https://openjfx.io/openjfx-docs/#install-javafx

when i try to create java fx application in apache netbeans , i am getting below error

Failed to automatically set-up a JavaFX Platform. Please go to Platform Manager, create a non-default Java SE platform, then go to the JavaFX tab, enable JavaFX and fill in the paths to valid JavaFX SDK and JavaFX Runtime. Note: JavaFX SDK can be downloaded from JavaFX website

attaching screen shot of netbeans 10.

enter image description here

Answer

silent_coder14 picture silent_coder14 · Feb 8, 2020

This is for the future developers that will stumble on this problem. You can follow this video for Installing JavaFX13 and integrate it with Apache Netbeans 11.2. Try following the instructions here

There might be problems with CSS autocomplete but you can create a JavaFx project now.

Edited: As suggested from the other answer, you can download the JavaFX from the official page of JavaFX.