Tip1
1. Create a directory under java_home/jre/lib/fonts/fallback
2. It's easiest to get a Chinese font in fallback ln a little bit.
Like what:
Ln-s/usr/share/fonts/truetype/arphic/uming.ttf $JAVA _home/jre/lib/fonts/fallback/
Tip2
Problem Description: The Chinese of Java application cannot be displayed, rendering square block.
Cause Analysis: Java applications cannot find fonts that are available for display in Chinese.
Solution: First, make sure that the JDK 1.5.0_06 is installed in the system, and if the JRE 1.5.0_06 is installed, remove the JRE and install the JDK. Then download Fireflysung 1.3.0, unzip the TTF file into the system font directory/usr/share/fonts, and then run with Fc-cache-f-V, let the system know this font. Finally, go to jre/lib/fonts in the JDK installation directory and use the following command to complete.
mkdir fallback CD fallback ln-s/usr/share/fonts/fireflysung.ttf mkfontdir Mkfontscale
blog:http://agapple.javaeye.com/Welcome to visit
Http://www.blogjava.net/agapple/archive/2008/10/31/237838.html
Linux under Java window, display Chinese correctly