Can not run jdk14 when seting LC_ALL to en_US.UTF-8

Lihong Chen lihong.chen at gmail.com
Sun May 1 20:45:22 PDT 2005


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=0x35518C2D
Function=XtWidgetToApplicationContext+0x1D
Library=/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:212)
        - 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


More information about the freebsd-current mailing list