Click here to Skip to main content
15,867,453 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
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
Posted
Updated 2-Jan-21 18:44pm
Comments
Sandeep Mewara 28-Dec-20 2:49am    
Try: java - Error occurred during initialization of boot layer FindException: Module not found - Stack Overflow[^]

Would suggest to pick a website or a book to learn properly. Following a youtube video probably is not a good way to learn.
Richard MacCutchan 28-Dec-20 3:46am    
It would help if you made your links clickable. If you paste them into a Solution box the editor will do it for you. You can then cut and paste to your comment.
Sandeep Mewara 28-Dec-20 6:26am    
:thumbsup:
Richard MacCutchan 28-Dec-20 6:28am    
Perfect.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900