I tried to create a simple login app using JavaFx i'd seen this video on youtube
https://www.youtube.com/watch?v=DH3dWzmkT5Y&ab_channel=tookootek
I did the same thing as him but I had a problem when i run it, builds successfully but it show like that (i work with jdk15 in IntelliJ and javafx 11) :
"C:\Program Files\Java\jdk-15\bin\java.exe" --module-path C:\Users\LENOVO\Desktop\java\javafx-sdk-11.0.2\lib --add-modules javafx.swing,javafx.graphics,javafx.fxml,javafx.media,javafx.controls --add-modules javafx.base,javafx.graphics --add-reads javafx.base=ALL-UNNAMED --add-reads javafx.graphics=ALL-UNNAMED "-javaagent:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.2.3\lib\idea_rt.jar=50315:C:\Program Files\JetBrains\IntelliJ IDEA Community Edition 2020.2.3\bin" -Dfile.encoding=UTF-8 -m test2/sample.Main
Error occurred during initialization of boot layer
java.lang.module.FindException: Module test2 not found
Process finished with exit code 1
What I have tried:
probem in appliction with javafx