There are resource bundles with the same base name in both file system and jar. Try to load the resource bundle from file system, not from jar.
URLClassLoader urlLoader = new URLClassLoader(new java.net.URL[]{filePathURL});
ResourceBundle bundle = ResourceBundle.getBundle( "my.bundle", locale, urlLoader );
The bundle is loaded from jar, not from the file system. Why? If I changed the bundle base name to my.foo.bundle(different from the bundle name in jar), it worked. But the bundle names are the same for file system and in jar. Is there a way?
Thanks.