Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 2 May 2005 11:45:20 +0800
From:      Lihong Chen <lihong.chen@gmail.com>
To:        current@freebsd.org
Subject:   Can not run jdk14 when seting LC_ALL to en_US.UTF-8
Message-ID:  <a50d5a5005050120454aa75a50@mail.gmail.com>

next in thread | raw e-mail | index | archive | help
Hi!
I am using 6-current with GNOME 2.10, and my locale is set to en_US.UTF-8.
Every time I start java application it will core dump like below:
------------------------------------------------------------
$ java -cp . -jar argouml.jar

An unexpected exception has been detected in native code outside the VM.
Unexpected Signal : 11 occurred at PC=3D0x35518C2D
Function=3DXtWidgetToApplicationContext+0x1D
Library=3D/usr/X11R6/lib/libXt.so.6

Current Java thread:
        at sun.awt.motif.MToolkit.loadSystemColors(Native Method)
        at java.awt.SystemColor.updateSystemColors(SystemColor.java:417)
        at java.awt.SystemColor.<clinit>(SystemColor.java:409)
        at sun.awt.X11GraphicsConfig.getColorModel(X11GraphicsConfig.java:2=
12)
        - locked <0x2cb95088> (a sun.awt.X11GraphicsConfig)
        at sun.awt.X11SurfaceData.getSurfaceType(X11SurfaceData.java:374)
        at sun.awt.X11GraphicsConfig.getSurfaceType(X11GraphicsConfig.java:=
116)
        - locked <0x2cb95088> (a sun.awt.X11GraphicsConfig)
        at sun.awt.X11SurfaceData.createData(X11SurfaceData.java:292)
------------------------------------------------------------
Today, I tried to set LC_ALL to en_US.ISO8859-1, then the java  works well.
I don't know why, but I need UTF-8 support for chinese input and output.

/Lihong



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?a50d5a5005050120454aa75a50>