Nascif Abousalh-Neto writes:
 > Hi,
 > 
 > I am developing an internationalized GUI. When I launch my application from the 
 > shell prompt using a script wrapper, it can find the resource bundle, no problem. 
 > When I run it from JDEE using the jde-run command, I get :
 > 
 > java.util.MissingResourceException: Can't find bundle for base name 
 > com.sas.analytics.irp.client.resources, locale en_US
 >      at 
 > java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:804)
 >      at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:773)
 >      at java.util.ResourceBundle.getBundle(ResourceBundle.java:661)
 >      at 
 > com.sas.analytics.irp.client.util.ResourceProvider.init(ResourceProvider.java:41)
 > 
 > I checked the classpath and it is exactly the same, and the resource bundle file is 
 > right there where I expect it (inside the main jar file). 
 > Any idea what could be the difference between launching from a script and launching 
 > from JDEE that would explain this difference in behavior?

It could be the working directory that differs. Launching an app from the JDEE starts 
the app in the directory containing the source file in the current Emacs buffer. The 
jde-run-working-directory customization variable allows you to specify another 
directory.

Paul


 > 
 > TIA,
 >   Nascif
 > 

Reply via email to