Reputation: 221
I have some folders, where I have the soundtracks, images... I need for my game. Now, when I try to make an executable .jar File, Eclipse doesn't include these folders.
What can I do?Here is a pic of the folders, if it helps :)
Upvotes: 0
Views: 330
Reputation: 5686
If you want to include these files as your resources, you need to add them to the src/main/resources
directory.
This article may help https://www.codexpedia.com/java/java-packaging-resource-files-into-a-runnable-jar-file/
Upvotes: 2