I'm using Intellij Idea to code in Java on MacOS. I installed the JDK Java 11 downloaded on the official website. Java work perfectly. But, now i want to use the JavaFX library.
So I imported JavaFX using :
import javafx.*;
But I get the error : Cannot resolve symbol 'javafx'.
So I search a litle and figured out that I had to create the project as a "JavaFX Application" so I did but in the file sample.fxml I get the message :
The JavaFX runtime is not configured. Either use a JDK that has the JavaFX built in, or add a JavaFX library to the classpath
When I search for download the JavaFX library, i found that it is include in the JavaJDK now but I can't find it...
So I would like to find a way to use JavaFX and also without IntellijIdea (by using javac & java on terminal).