OS: RedhatLinux today found that the webpage content in em is normal, but the button is garbled. The solution is as follows: 1. Modify the font under jdk. [Oracle @ rac2db_1] $ cd $ O
OS: Redhat Linux today found that the webpage content in em is normal, but the button is garbled. The solution is as follows: 1. Modify the font under jdk. [Oracle @ rac2 db_1] $ cd $ O
OS: RedHat Linux
Today, we found that the webpage content in em is normal, but the buttons are garbled.
The solution is as follows:
1. Modify the font of 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. Modify the font below the 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. Clear em cache
[Oracle @ rac2 lib] $ cd $ ORACLE_HOME/productname/j2ee/oc4j_applications/applications/em/cabo/images/cache/zhs
[Oracle @ rac2 zhs] $ rm *. gif
4. Restart em
[Oracle @ rac2 zhs] $ emctl stop dbconsole
[Oracle @ rac2 zhs] $ emctl start dbconsole
In addition, pay attention to font. properties: Specifies the font file in the last line of properties. If no font file exists, you must also note that the font file must have operation permissions. The following is my settings for 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] $
,