Home  >  Article  >  Database  >  Redhat Linux Oracle 10G em按钮乱码的解决

Redhat Linux Oracle 10G em按钮乱码的解决

WBOY
WBOYOriginal
2016-06-07 16:51:48896browse

OS:Redhat Linux 今天发现em中网页的内容正常,但按钮是乱码。下面是解决办法:1.修改jdk 下面的字体。[oracle@rac2 db_1]$ cd $O

OS:RedHat Linux

今天发现em中网页的内容正常,但按钮是乱码。

下面是解决办法:

1.修改jdk 下面的字体。
[Oracle@rac2 db_1]$ cd $ORACLE_HOME/jdk/jre/lib/
[oracle@rac2 lib]$ mv font.properties font.properties_bak
[oracle@rac2 lib]$
[oracle@rac2 lib]$ cp font.properties.zh_CN.Redhat font.properties
[oracle@rac2 lib]$

2.修改jre 下面的字体
[oracle@rac2 lib]$ cd $ORACLE_HOME/jre/1.4.2/lib
[oracle@rac2 lib]$ mv font.properties font.properties_bak
[oracle@rac2 lib]$ cp font.properties.zh_CN.Redhat font.properties

3.清除em的cache
[oracle@rac2 lib]$ cd $ORACLE_HOME/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/images/cache/zhs
[oracle@rac2 zhs]$ rm *.gif

4. 重新启动em
[oracle@rac2 zhs]$ emctl stop dbconsole
[oracle@rac2 zhs]$ emctl start dbconsole

另外,还需要注意font.properties最后一行的设置字体文件,如果不存在需要指定已经存在的字体文件,还要注意字体文件必须有操作的权限,下面是我的CentOS5的设置

[oracle@localhost lib]$ tail -n 3 font.properties
filename.-misc-zysong18030-medium-r-normal--*-%d-*-*-c-*-iso10646-1=/usr/share/fonts/chinese/TrueType/uming.ttf
[oracle@localhost lib]$ 

linux

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn