From: Mark Wielaard <mark@klomp.org>
To: Adam King <aking@dreammechanics.com>
Cc: java@gcc.gnu.org, adam@xwt.org
Subject: Re: MissingResourceException with Date under mingw port
Date: Wed, 10 Apr 2002 11:11:00 -0000 [thread overview]
Message-ID: <1018460938.21488.3.camel@elsschot> (raw)
In-Reply-To: <20020410131202.C24689@dreammechanics.com>
Hi,
On Wed, 2002-04-10 at 19:12, Adam King wrote:
> 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
You will get the same thing on GNU/Linux when compiling with -static.
But you can work around it by setting your CLASSPATH to the libgcj.jar
(e.g. export CLASSPATH=/usr/local/gcc-3.1/share/libgcj.jar or the
equivalent under Windows/Mingw.)
That does defeat the -static a bit, but at least makes your program run.
Cheers,
Mark
prev parent reply other threads:[~2002-04-10 17:49 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-10 10:31 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 message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1018460938.21488.3.camel@elsschot \
--to=mark@klomp.org \
--cc=adam@xwt.org \
--cc=aking@dreammechanics.com \
--cc=java@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).