2009年4月12日星期日

LINUX:ARCHLINUX java 界面乱码

Java:

java -version
java version "1.6.0_0"
OpenJDK Runtime Environment (IcedTea6 1.5pre) (ArchLinux-1.5-0.1-i686)
OpenJDK Server VM (build 14.0-b10, mixed mode)


solution:


cd /usr/lib/jvm/java-1.6.0-openjdk/jre/lib/fonts
sudo mkdir fallback
cd fallback
sudo cp /usr/share/fonts/truetype/arphic/uming.ttc
/usr/lib/jvm/java-6-sun-1.6.0.10/jre/lib/fonts/fallback
sudo mkfontdir
sudo mkfontscale

没有评论: