OpenJDK7 and NetBeans: Who can use non-English fonts on NetBeans?

SAITOU Toshihide toshi at
Thu Feb 26 04:32:47 PST 2009

In message: <49A4CD5A.9060600 at>
            Daichi GOTO <daichi at> writes:
> 葉佳威 Jiawei Ye wrote:
> > On Wed, Feb 25, 2009 at 10:43 AM, Daichi GOTO <daichi at <mailto:daichi at>> 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,
> >     <>
> > 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:


and also prepare a at this place:


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):



More information about the freebsd-java mailing list