Skip to content Skip to main navigation Skip to footer

Linux:RHEL6自带JDK中文乱码解决

这个是因为跟系统的字体不符,修改成系统的字体就可以了!

/usr/lib/jvm/java-1.6.0/jre/lib为JAVA_HOME的目录,如果不是自带rpm包安装就找到JAVA_HOME的目录就可以了!

#cd  /usr/lib/jvm/java-1.6.0/jre/lib
#mv  fontconfig.bfc  fontconfig.bfc_bak
#cp fontconfig.RedHat.6.bfc fontconfig.bfc

jdk-1.4以前不适用这种方法!

 

0 Comments

There are no comments yet

Leave a comment

Your email address will not be published.