compiling a SWT-gui with gcj on windows

Ranjit Mathew rmathew@hotmail.com
Wed Aug 6 12:13:00 GMT 2003


Jörg Maisenbacher wrote:
> just one short question:
> ----
> Exception in thread "main" java.util.MissingResourceException: Bundle 
> gnu.java.locale.Calendar 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 = gnu.java.locale.Calendar.class;

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

Ranjit.

-- 
Ranjit Mathew          Email: rmathew AT hotmail DOT com

Bangalore, INDIA.      Web: http://ranjitmathew.tripod.com/



More information about the Java mailing list