compiling a SWT-gui with gcj on windows

Ranjit Mathew
Wed Aug 6 12:13:00 GMT 2003

Jörg Maisenbacher wrote:
> just one short question:
> ----
> Exception in thread "main" java.util.MissingResourceException: Bundle 
> not found
> ----

Just put a dummy reference to this class in one of your
Java source files that get linked in like this:

private static Class dummy =;

This forces this class to be linked in. This is a
well known problem with static linking (used by GCJ
on Windows).


Ranjit Mathew          Email: rmathew AT hotmail DOT com

Bangalore, INDIA.      Web:

More information about the Java mailing list