MissingResourceException with Date under mingw port

Adam King aking@dreammechanics.com
Wed Apr 10 10:31:00 GMT 2002


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


More information about the Java mailing list

AltStyle によって変換されたページ (->オリジナル) /