This is the mail archive of the
java@gcc.gnu.org
mailing list for the Java project.
MissingResourceException with Date under mingw port
- From: Adam King <aking at dreammechanics dot com>
- To: java at gcc dot gnu dot org
- Cc: adam at xwt dot org
- Date: Wed, 10 Apr 2002 13:12:02 -0400
- Subject: MissingResourceException with Date under mingw port
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