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

葉佳威 Jiawei Ye leafy7382 at
Tue Feb 24 19:05:56 PST 2009

On Wed, Feb 25, 2009 at 10:43 AM, Daichi GOTO <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 ->

This gives me much better Chinese fonts (I put my Mac fonts in there).



"If it looks like a duck, walks like a duck, and quacks like a duck, then to
the end user it's a duck, and end users have made it pretty clear they want
a duck; whether the duck drinks hot chocolate or coffee is irrelevant."

More information about the freebsd-java mailing list