If it’s working fine in Eclipse and not when running the JAR, then the files you’re trying to load are not being included in the JAR file within a folder called “res”. Is there something you need to do to the folder in Eclipse for this to happen?
It is a critical piece of information. The earlier you share this with people you’re asking for help, the sooner issues get resolved.