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?

[789 byte] By [syt000a] at [2007-11-27 8:38:25]
# 1
http://forum.java.sun.com/thread.jspa?threadID=463657&tstart=30
one_danea at 2007-7-12 20:36:05 > top of Java-index,Desktop,I18N...
# 2
Ah thank you. Apparently my search skills are lacking
syt000a at 2007-7-12 20:36:05 > top of Java-index,Desktop,I18N...