Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Mar 2009 09:57:15 -0800
From:      Brian Gardner <brian@experts-exchange.com>
To:        Daichi GOTO <daichi@ongs.co.jp>
Cc:        SAITOU Toshihide <toshi@ruby.ocn.ne.jp>, leafy7382@gmail.com, freebsd-java@freebsd.org
Subject:   Re: OpenJDK7 and NetBeans: Who can use non-English fonts on	NetBeans?
Message-ID:  <49AEC0FB.3010808@experts-exchange.com>
In-Reply-To: <49AE11A9.5070203@ongs.co.jp>
References:  <49A4B04B.6070908@ongs.co.jp>	<c21e92e20902241905k53377448j4097c6baaf1ed098@mail.gmail.com>	<49A4CD5A.9060600@ongs.co.jp>	<20090226.210622.41634347.toshi@ruby.ocn.ne.jp>	<49A7596E.301@ongs.co.jp> <49AD9EA6.7070901@experts-exchange.com> <49AE11A9.5070203@ongs.co.jp>

next in thread | previous in thread | raw e-mail | index | archive | help
I get a 403 trying to download the java.core. I'm not sure what I'll get
out of it, but it will start the debugging process.

Brian

Daichi GOTO wrote:
> It is reproducable. Work is follow.
>
> -----------------------------
> /home/daichi% env
> _=/usr/bin/env
> LS_COLORS=di=34:ln=35:so=32:pi=33:ex=31:bd=46;34:cd=43;34:su=41;30:sg=46;30:tw=42;30:ow=43;30
> LSCOLORS=exfxcxdxbxegedabagacad
> CDPATH=/home/daichi/Documents/Journal/:/home/daichi/Documents/Gihyo.jp/:.
> OLDPWD=/home/daichi
> SHLVL=1
> DESKTOP_SESSION=gnome
> XAUTHORITY=/var/run/gdm/auth-for-daichi-tlKAu2/database
> XMODIFIERS=@im=SCIM
> XDG_SESSION_COOKIE=c88765b810aff943a54b6f9c498722de-1236121958.45633-125147983
> LOGNAME=daichi
> SVN_EDITOR=vim
> GNOME_DESKTOP_SESSION_ID=this-is-deprecated
> GTK_RC_FILES=/usr/local/etc/gtk/gtkrc:/home/daichi/.gtkrc-1.2-gnome2
> XDTP_URI_TRANSITION=
> USERNAME=daichi
> PATH=/usr/local/libexec/ccache:/home/daichi/Library/bin:/home/daichi/bin/:/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin
> SSH_AUTH_SOCK=/var/tmp/keyring-PyW1ve/ssh
> GNOME_KEYRING_PID=1417
> GPG_AGENT_INFO=/var/tmp/seahorse-wAnjct/S.gpg-agent:1476:1
> TERM=xterm
> PWD=/home/daichi
> USER=daichi
> WINDOWID=58720301
> COLORTERM=gnome-terminal
> EDITOR=vim
> DBUS_SESSION_BUS_ADDRESS=unix:path=/var/tmp/dbus-owSCtsRAkP,guid=d6f0c2f573f712206db11fdd49adb967
> GDM_KEYBOARD_LAYOUT=us
> GDMSESSION=gnome
> DISPLAY=:0.0
> SHELL=/usr/local/bin/zsh
> GNOME_KEYRING_SOCKET=/var/tmp/keyring-PyW1ve/socket
> PAGER=lv
> LANG=ja_JP.UTF-8
> GTK_IM_MODULE=scim
> GDM_LANG=C
> SESSION_MANAGER=local/parancell.ongs.co.jp:/tmp/.ICE-unix/1419
> ORBIT_SOCKETDIR=/var/tmp/orbit-daichi
> HOME=/home/daichi
> JAVA_HOME=/usr/local/openjdk6
> /home/daichi% grep jdkhome /usr/local/netbeans65/etc/netbeans.conf
> # Default location of JDK, can be overridden by using --jdkhome <dir>:
> #netbeans_jdkhome="/usr/local/jdk1.6.0"
> netbeans_jdkhome="/usr/local/openjdk6"
> #netbeans_jdkhome="/usr/local/diablo-jdk1.6.0"
> /home/daichi% netbeans65
> Xlib:  extension "Generic Event Extension" missing on display ":0.0".
> Xlib:  extension "Generic Event Extension" missing on display ":0.0".
> Xlib:  extension "Generic Event Extension" missing on display ":0.0".
> Atom was 0
> Atom was 0
> Atom was 0
> Atom was 0
> Atom was 0
> Atom was 0
> Atom was 0
> Atom was 0
> Atom was 0
> Atom was 0
> #
> # An unexpected error has been detected by Java Runtime Environment:
> #
> #  SIGSEGV (0xb) at pc=0x0000000801e595af, pid=86735, tid=0x1d15e940
> #
> # Java VM: Diablo Java HotSpot(TM) 64-Bit Server VM (10.0-b23 mixed mode bsd-amd64)
> # Problematic frame:
> # v  ~BufferBlob::Interpreter
> #
> # An error report file with more information is saved as:
> # /usr/home/daichi/hs_err_pid86735.log
> #
> # Please submit bug reports to freebsd-java@FreeBSD.org
> #
> Abort trap (core dumped)
> /home/daichi%  uname -a
> FreeBSD parancell.ongs.co.jp 8.0-CURRENT FreeBSD 8.0-CURRENT #6: Thu Feb 26 13:25:16 JST 2009
> root@parancell.ongs.co.jp:/usr/obj/usr/src/sys/PARANCELL  amd64
> /home/daichi% java -version
> openjdk version "1.6.0-internal"
> OpenJDK Runtime Environment (build 1.6.0-internal-root_23_feb_2009_17_26-b00)
> Diablo Java HotSpot(TM) 64-Bit Server VM (build 10.0-b23, mixed mode)
> /home/daichi%
> -----------------------------
>
> And I don't know it's usefull or not, I have updated java.core
> file as follow url:
>
>   http://www.ongs.net/~daichi/java.core
>
>   496M	java.core
>   MD5 (java.core) = b9119760d11e8dc39db771ff1dd7c287
>
> Brian Gardner wrote:
>   
>> Hum,
>> I've seen similar issues occasionally running java/jdk16. Is this error
>> reproducable? If I can reproduce it, I should be able to debug fix it.
>> Otherwise I'll need debugging information. Perhaps I should create and
>> publish a process for debugging core dumps, including building debugging
>> versions of binaries and extracting stack from core dumps.
>>
>> Daichi GOTO wrote:
>>     
>>> And after changed netbeans.conf to use OpenJDK6,
>>> new show stopper come, printing included error log.
>>>
>>> Do you have any ideas?
>>>
>>> SAITOU Toshihide wrote:
>>>   
>>>       
>>>> In message: <49A4CD5A.9060600@ongs.co.jp>
>>>>             Daichi GOTO <daichi@ongs.co.jp> writes:
>>>>     
>>>>         
>>>>> 葉佳威 Jiawei Ye wrote:
>>>>>       
>>>>>           
>>>>>> On Wed, Feb 25, 2009 at 10:43 AM, Daichi GOTO <daichi@ongs.co.jp <mailto:daichi@ongs.co.jp>> wrote:
>>>>>> Hi Java guys,
>>>>>> Who can use non-English fonts on NetBeans with OpenJDK6?
>>>>>>     I have tried some methods to use Japanese fonts with that,
>>>>>>     but I have all faild :-(
>>>>>> If you have any ideas, please teach me. Thanks
>>>>>> -- Daichi GOTO, http://people.freebsd.org/~daichi
>>>>>>     <http://people.freebsd.org/~daichi>;
>>>>>> One evil trick is to go to your ${JAVA_HOME}/jre/lib/fonts and put a "fallback" directory link to your actual font dir.
>>>>>> ex. on my system
>>>>>> lrwxr-xr-x  1 root  wheel      34  8 29 11:56 fallback -> /usr/local/lib/X11/fonts/truetype/
>>>>>> This gives me much better Chinese fonts (I put my Mac fonts in there).
>>>>>> HTH,
>>>>>> Jiawei
>>>>>>         
>>>>>>             
>>>>> Yeah, above method is workable with JDK16 but not OpenJDK6 :-(
>>>>>
>>>>> Did you get Chinese fonts with OpenJDK6 and NetBeans? I can
>>>>> use Japanese fonts with some demo applicatins within OpenJDK6,
>>>>> but cannot get that with NetBeans65.
>>>>>       
>>>>>           
>>>> First I change the netbeans_jdkhome in the
>>>> /usr/local/netbeans65/etc/netbeans.conf as following:
>>>>
>>>>    netbeans_jdkhome="/usr/local/openjdk6"
>>>>
>>>> and also prepare a fontconfig.properties at this place:
>>>>
>>>>    /usr/local/openjdk6/jre/lib/fontconfig.properties
>>>>
>>>> then japanese font is fine same as before using the jdk16.
>>>>
>>>> for example (it seems that the dialog.plain.japanese-x0208
>>>> was mainly used in my NB settings):
>>>>
>>>> #dialog.plain.japanese-x0208=-kochi-gothic-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
>>>> dialog.plain.japanese-x0208=-ricoh-hgheiseikakugothictaiw3-medium-r-normal--*-%d-*-*-c-*-jisx0208.1983-0
>>>>
>>>> ---
>>>> SAITOU
>>>>     
>>>>         
>>>   
>>>       
>> _______________________________________________
>> freebsd-java@freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-java
>> To unsubscribe, send any mail to "freebsd-java-unsubscribe@freebsd.org"
>>     
>
>   



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