FXML Load exception

The problem is in source So, you’ve got to change it to a proper one So do that, edit the source of the fxml file here AnchorPane root = (AnchorPane) FXMLLoader.load(Main.class.getResource(“LoginGUI.fxml”)); with this one AnchorPane root = (AnchorPane) FXMLLoader.load(Main.class.getResource(“/packagename

JavaFX and OpenJDK

JavaFX is part of OpenJDK The JavaFX project itself is open source and is part of the OpenJDK project. However, the OpenJDK project includes many projects, including incubating projects and other projects, such as OpenJFX, whose source and implementation are not shipped as part of some JDK/JRE distributions (e.g. Oracle JDK 11+ implementations and many … Read more