amformepleeeze wrote in message news:<Oa91c.18524$ thlink.net>...
> Hmm. I tried the -Duser.language=en switch on my test program with javac,
> but it didn't seem to work. Here's what I tried it with.
>
> public static class EarlyReturn
> {
> public static void main(String [] arg)
> {
> return;;;; //did this to generate errors
> }
> }
>
> I then tried to compile:
> > javac -Duser.language=en EarlyReturn.java
>
> But I got an error which basically said javac does not support such a
> flag/option. (In Japanese, too)
> Were you referring to the Java2 SDK installer? Should I apply
> -Duser.language=en to that?
>
> Open for replies from anyone. I would like to get English error messages. I
> know some Japanese, but I'm not _that_ good.
>
> --Elton Sanchez
>
>
> On 29-Feb-2004, Thomas Kellerer <> wrote:
>
> > I don't know about additional downloads, but you could try to start the
> > java commands with -Duser.language=en then they should use english as the
> > language for error reports.
> >
> > Thomas
I haven't tried but I guess changing locale temporarily might be
effective for your problem. You can change locale at OS level or in
your own Java(javac/java) launcher program using java.util.Locale
class/object.