ubuntu下DbVisualizer 中文乱码,包括JAVA 乱码
1. 在 jre/lib/fonts/ 下建立个目录 fallback,如在Ubuntu 9.04中:
代码:
sudomkdir/usr/lib/jvm/java-6-sun/jre/lib/fonts/fallback/
(/usr/lib/jvm/java-6-sun这个为JDK所在的目录。)
2.在fallback里弄个中文字体,如在Ubuntu9.04中:
代码:
sudoln-s/usr/share/fonts/truetype/wqy/*.*/usr/lib/jvm/java-6-sun/jre/lib/fonts/fallback/
3./usr/lib/jvm/java-6-sun/jre/lib/fonts/fallback/执行mkfontscale
再把/usr/lib/jvm/java-6-sun/jre/lib/fonts/fallback/fonts.scale的内容加到/usr/lib/jvm/java-6-sun/jre/lib/fonts/fonts.dir
如在Ubuntu9.04中:
代码:
cd/usr/lib/jvm/java-6-sun/jre/lib/fonts/fallback/
sudomkfontscale
cd..
sudo cat fallback/fonts.scale >> fonts.dir如有错误,欢迎指正
相关推荐
蚩尤后裔 2020-06-04
nangongyanya 2019-11-30
lonesomer 2020-09-17
Summer的小屋 2020-05-06
voiletbin 2020-04-17
hnllei 2020-02-24
蚩尤后裔 2020-02-24
suosuo 2020-01-02
voiletbin 2019-12-20
渴望就奋力追寻 2019-12-20
baixiaoshi 2019-12-18
guicaizhou 2019-12-12
88580090 2013-07-14
zhouxihua0 2019-11-08