I am using a ResourceBundle
for different languages (en, de, fr, ...) and the Keys are listed in a .properties file. It works great, but only using the classpath in the function getBundle()
.
Now, if I build my project as an executable JAR file, I can't maintain those properties/dictionary files. How can I go on to get those files out of the JAR file and use them (probably with a relative path)?