This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
Re: compiling a SWT-gui with gcj on windows
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/