Understanding how the main class affects JPMS
问题 I have a very basic JavaFX application that works flawlessly if the Application class is not the Main class: import javafx.application.Application; import javafx.fxml.FXMLLoader; import javafx.stage.Stage; public class Main { public static void main(String[] args) { Application.launch(App.class, args); } } public class App extends Application { @Override public void start(Stage primaryStage) { FXMLLoader loader = new FXMLLoader(); // works } } However, when I merge the two together (which is