public inbox for java@gcc.gnu.org
 help / color / mirror / Atom feed
* MissingResourceException with Date under mingw port
@ 2002-04-10 10:31 Adam King
  2002-04-10 10:42 ` Adam Megacz
  2002-04-10 11:11 ` Mark Wielaard
  0 siblings, 2 replies; 10+ messages in thread
From: Adam King @ 2002-04-10 10:31 UTC (permalink / raw)
  To: java; +Cc: adam

Before the i686-pc-mingw32 taget for the cvs branch became
uncompilable this morning, I was getting the following
exception in my code.  I narrowed it down to the following
simple test:

import java.util.Date;

public class DateBug
{
  public static void main( String[] args )
  {
    System.out.println( (new Date()).toString() );
  }
}

With the mingw port, I get:

T:\>datebag
Exception in thread "main" java.util.MissingResourceException: Bundle gnu.java.locale.Calendar not found

It runs fine when compiled with the linux target.

Am I missing a library I should be linking in?  I compiled it with:
  i686-pc-mingw32-gcj --main=DateBug -o datebug.exe DateBug.java

	Adam

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2002-04-10 23:35 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-04-10 10:31 MissingResourceException with Date under mingw port Adam King
2002-04-10 10:42 ` Adam Megacz
2002-04-10 10:49   ` Tom Tromey
2002-04-10 12:25   ` Eric Blake
2002-04-10 12:55     ` Adam Megacz
2002-04-10 15:56       ` Eric Blake
2002-04-10 16:11         ` Tom Tromey
2002-04-10 16:35     ` Tom Tromey
2002-04-10 18:21       ` Per Bothner
2002-04-10 11:11 ` Mark Wielaard

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).