ubuntu下oracle10g EM 显示乱码正确的解决办法 口口
2011-03-09 22:08
309 查看
网上通用的解决办法:
修改jdk 下面的字体。
$ cd $ORACLE_HOME/jdk/jre/lib/
$ mv font.properties font.properties_bak
$ cp font.properties.zh_CN.Redhat font.properties
修改jre 下面的字体
$ cd $ORACLE_HOME/jre/1.4.2/lib
$ mv font.properties font.properties_bak
$ cp font.properties.zh_CN.Redhat font.properties
清除em的cache
$ rm -rf /home/oracle/ora10/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/images/cache/zhs/*.gif
重启em
$ $ORACLE_HOME/bin/emctl stop dbconsole
$ $ORACLE_HOME/bin/emctl start dbconsole
没有效果,经检查,发现两个font.properties文件,最后一行发现以下内容
filename.-misc-zysong18030-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/share/fonts/zh_CN/TrueType/zysong.ttf
很明显,没有这个TTF字体文件,修改(注意文件目录的大小写)
filename.-misc-zysong18030-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/share/fonts/truetype/wqy/wqy-microhei.ttc
将JRE和JDK下的两个font.properties文件修改
$gedit font.properties
再清楚em的cache
重启em
搞定!!
修改jdk 下面的字体。
$ cd $ORACLE_HOME/jdk/jre/lib/
$ mv font.properties font.properties_bak
$ cp font.properties.zh_CN.Redhat font.properties
修改jre 下面的字体
$ cd $ORACLE_HOME/jre/1.4.2/lib
$ mv font.properties font.properties_bak
$ cp font.properties.zh_CN.Redhat font.properties
清除em的cache
$ rm -rf /home/oracle/ora10/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/images/cache/zhs/*.gif
重启em
$ $ORACLE_HOME/bin/emctl stop dbconsole
$ $ORACLE_HOME/bin/emctl start dbconsole
没有效果,经检查,发现两个font.properties文件,最后一行发现以下内容
filename.-misc-zysong18030-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/share/fonts/zh_CN/TrueType/zysong.ttf
很明显,没有这个TTF字体文件,修改(注意文件目录的大小写)
filename.-misc-zysong18030-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/share/fonts/truetype/wqy/wqy-microhei.ttc
将JRE和JDK下的两个font.properties文件修改
$gedit font.properties
再清楚em的cache
重启em
搞定!!
相关文章推荐
- ubuntu下oracle10g EM 与DBCA 显示乱码的另一种解决办法 口口
- ubunt 12.10 vi编辑器 中文乱码 和ubuntu显示中文的办法 解决办法
- 关于Ubuntu的IBUS输入法,输入拼音不能正确显示的解决办法。
- ubuntu打开中文PDF显示乱码的解决办法
- ubuntu14.04中 gedit 注释能显示中文,而source insight中显示为乱码的解决办法
- Ubuntu 安装 Flash Player 10 及解决播放 flash 字体乱码(显示为方块)的办法
- ubuntu英文环境下对windows系统下的txt显示乱码的解决办法
- Ubuntu中Document View 中文显示乱码解决办法
- ubuntu 12.04 gedit 中文显示乱码解决办法
- Ubuntu Server 命令行下显示中文乱码(菱形)解决办法
- ubuntu 12.04下gedit查看文本文件中文显示乱码的解决办法
- ubuntu中文文件名在xp下显示为乱码的解决办法
- ubuntu pdf乱码+不显示中文的终极解决办法
- Ubuntu 12.04 gedit windows 中文显示乱码问题的解决办法
- ubuntu英文环境下对windows的txt显示乱码的解决办法
- Oracle10g EM页面中文显示乱码问题的解决
- rhel5+oracle10g em显示中文乱码解决
- ubuntu14.04中 gedit 注释能显示中文,而source insight中显示为乱码的解决办法
- Ubuntu 12.04 gedit windows 中文显示乱码问题的解决办法
- ubuntu下打开文本显示乱码解决方法(转)