JDK 1.5的汉字问题

安装Freemind后发现无法启动,在shell中启动可以看了这样的错误:

Exception in thread "main" java.lang.IllegalArgumentException
......
at sun.font.TrueTypeFont.getFamilyName(TrueTypeFont.java:884)
......

按照 http://hyuhui.yculblog.com/post.1092211.html 的方法设置,Web Start和Java Control Panel都可以显示中文了,但Freemind启动还是报这个错误。后来google到 http://lists.freebsd.org/pipermail/freebsd-java/2005-October/004410.html ,原来是萤火虫字体影响的,只好不用这个字体了。

Leave a Reply

Your email address will not be published. Required fields are marked *

*

To create code blocks or other preformatted text, indent by four spaces:

    This will be displayed in a monospaced font. The first four 
    spaces will be stripped off, but all other whitespace
    will be preserved.
    
    Markdown is turned off in code blocks:
     [This is not a link](http://example.com)

To create not a block, but an inline code span, use backticks:

Here is some inline `code`.
For more help see http://daringfireball.net/projects/markdown/syntax

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>