I know the topic has come up a few times, but no solution helps.... I'm getting this error:
Error occurred during initialization of boot layer
java.lang.module.FindException: Module sample not found
I added VM options:
--module-path "C:\Users\xxx\Downloads\openjfx-17.0.1_windows-x64_bin-sdk\javafx-sdk-17.0.1\lib" --add-modules=javafx.controls,javafx.fxml
I created module-info file:
module sample {
    requires javafx.controls;
    requires javafx.graphics;
    requires javafx.fxml;
    requires java.desktop;
    opens sample;
}
And nothing... The program won't start. I'm out of ideas. Can someone give me a hint? :)