loading resource bundle issue
i am making an application to be run on windows. It is deployed in a directory with the following structure:
application.jar
mainFolder/
--lang/
-bundle.properties
--etc...
I'd like to store my .properties files for the resourcebundle objects in the lang folder, not bundled with the .jar file. When loading it I have
ResourceBundle.getBundle("mainFolder.lang.bundle")
and I run the application like this:
java -cp .;%classpath% -jar application.jar
so the lang directory can be in the class path, but this does not work. Any ideas (i get a java.util.MissingResourceException)? Is there any other way to load the .properties files and that aren't in the class path with all your java packages?

