I deleted default application and controller and made new ones to rename them. But I got error
Error: JavaFX runtime components are missing, and are required to run this application
Process finished with exit code 1
The code is very simple.
package com.example.demo5;
import javafx.application.Application;
import javafx.stage.Stage;
public class Main extends Application {
public static void main(String[] args) {
launch(args);
}
@Override
public void start(Stage stage) {
stage.show();
}
}
I set up javafx library and vmoptions, and checked that it ran with default application and controller.
Must I use the default files?