I have written the Javafx application, It gives me a Error during initialization of boot layer

public class Main extends Application {
public static final String APP_NAME = "Everest";

@Override
public void start(Stage primaryStage) throws Exception {
    SettingsLoader settingsLoader = new SettingsLoader();
    settingsLoader.settingsLoaderThread.join();

    FXMLLoader loader = new 
FXMLLoader(getClass().getResource("/fxml/homewindow/HomeWindow.fxml"));
    Parent homeWindow = loader.load();
    Stage dashboardStage = new Stage();
    ThemeManager.setTheme(homeWindow);

    Rectangle2D screenBounds = Screen.getPrimary().getBounds();
    dashboardStage.setWidth(screenBounds.getWidth() * 0.83);
    dashboardStage.setHeight(screenBounds.getHeight() * 0.74);

    dashboardStage.getIcons().add(new 
 Image(getClass().getResource("/assets/Logo.png").toExternalForm()));
    dashboardStage.setScene(new Scene(homeWindow));
    dashboardStage.setTitle(APP_NAME);
    dashboardStage.show();
}

public static void main(String args[]) {
    launch(args);
}
}

I am not able to run this code.

How to overcome from this error.

While running the ode i am getting error like this

Error occurred during initialization of boot layer.
java.lang.module.FindException: Module javafx.controls not found.
How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum