首页 > Linux操作系统 > Linux操作系统 > oracle10g em 乱码
在安装完oracle10g后,由于jre默认使用的字体问题,使得em,dbca,netca,netmgr显示中文时出现"□□"字样的乱码,下面来说明这个问题的解决办法:
1. 改变$ORACLE_HOME/jdk目录下的jre的默认字体
cd $ORACLE_HOME/jdk/jre/lib/
ls font*zh_CN*
font.properties是默认使用的字体
还可以看到font.properties.zh_CN.Redhat和其它的字体
cp font.properties font.properties.bak
cp font.properties.zh_CN.Redhat font.properties
2.删除Cache下的gif文件(em页面中用到)
cd $ORACLE_HOME/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/images/cache/zhs/ ls *.gif
rm -f *.gif
3. 重新启动EM服务
cd $ORACLE_HOME/bin/
./emctl stop dbconsole
./emctl start dbconsole
来自 “ ITPUB博客 ” ,链接:https://blog.itpub.net/6456/viewspace-112221/ ,如需转载,请注明出处,否则将追究法律责任。