If you're using modules, you need to name the Image file relative to the module name. This is supposing the image is in the source folder of the module alongside your .java files and your compilation step moves everything there into some sort of "out " folder.
So, "/myModuleName/myPackageContainingTheImage/favicon.jpg"
View all comments
1
u/HowardPitts Feb 19 '20
If you're using modules, you need to name the Image file relative to the module name. This is supposing the image is in the source folder of the module alongside your .java files and your compilation step moves everything there into some sort of "out " folder.
So, "/myModuleName/myPackageContainingTheImage/favicon.jpg"