My system is Redhat 5.5 64 bit, Oracle is 11G R2
Oracle 11g has an easy way to solve this problem with jdk1.5,jdk1.5, just build a fallback directory under $java_home/jre/lib/fonts/, Copy the fonts you want to use in Java to this directory, under Oracle users:
$ mkdir $ORACLE _home/jdk/jre/lib/fonts/fallback
Copy the font file SIMSUN.TTC under Windows to the $oracle_home/jdk/jre/lib/fonts/fallback directory and rename it Simsun.ttf (Note that Ms SimSun fonts are copyrighted, so commercial for other fonts), the corresponding permissions are changed to Oracle users available.
After that, you need to clean up the cache and restart EM:
$ rm $ORACLE _home/oc4j/j2ee/oc4j_applications/applications/em/em/cabo/images/cache/zhs/*.gif
$ emctl Stop Dbconsole
$ emctl Start Dbconsole
Log on to the Web page to view, the EM display can be normal display of Chinese
Note: When you execute $ emctl stop Dbconsole or the Emctl start Dbconsole, you experience an error message:
[Email protected] bin]#./emctl Stop Dbconsole
environment variable oracle_unqname not defined. Please set Oracle_unqname to database unique name.
[Email protected] bin]#/emctl start dbconsole
environment variable oracle_unqname not defined. Please set Oracle_unqname to database unique name.
2 Solutions,
One, Su Oracle try again, if not
The following are performed:
Add environment variable Oracle_unqname
Vi/home/oracle/.bashrc
Export ORACLE_UNQNAME=ORCL
Vi/home/oracle/.bash_profile
Export ORACLE_UNQNAME=ORCL
Oracle_unqname is actually used to start the dbconsole, it is your oracle_sid default and ORCL.
2010-09-14
This article is from the "Five Corners" blog, please be sure to keep this source http://hi289.blog.51cto.com/4513812/1832557
Oracle 11g R2 EM garbled