Cannot launch a JavaFX Application on MacOS (using Java 8)
问题 First time using JavaFX, I'm trying to test it with an Hello World! window. I'm using Java 8 (update 211) with Eclipse on a MacOS with Mojave 10.14.5. I'm working on this project: I put all the JavaFX jar I think I need into the build path (maybe I'm missing some jars?). I'm trying to open a window with JavaFX using this code: import javafx.application.Application; import javafx.event.ActionEvent; import javafx.event.EventHandler; import javafx.scene.Scene; import javafx.scene.control.Button;