Tuesday, July 26, 2016

How to upgrade JDK and JRE in oracle apps / application R12 /Release 12



1.     Replace JDK 6 with 7 on IAS_ORACLE_HOME

A.     Apply Patches

16545472
16496713

B.     Download JDK 7

Download JDK 7 from the bellow link
Note: Download only 32 bit version
Download tar file and use command tar xcvf <filename > to untar a file

C.     Replace JDK Home with JDK7 on IAS

cd $IAS_ORACLE_HOME/appsutil
mv jdk jdk_old (Rename JDK6 with jdk_old)
Copy the downloaded JDK7 to  $IAS_ORACLE_HOME/appsutil
Then rename jdk7 folder to jdk (Ex: mv jdk1.7.0_5 jdk)

D.    Install Albany (Display) Font

Move the bellow fonts from $FND_TOP/resource to $IAS_ORACLE_HOME/appsutil/jdk/jre/lib
cd $FND_TOP/resource
cp ALBANYWT.ttf ALBANWTJ.ttf ALBANWTK.ttf ALBANWTS.ttf ALBANWTT.ttf $IAS_ORACLE_HOME/appsutil/jdk/jre/lib

ALBANYWT.ttf - Single-byte characters only
ALBANWTJ.ttf - Unicode font with Japanese Han Ideographs
ALBANWTK.ttf - Unicode font with Korean Han Ideographs
ALBANWTS.ttf - Unicode font with Simplified Chinese Han Ideographs
ALBANWTT.ttf - Unicode font with Traditional Chinese Han Ideographs
Commands to move
cp $FND_TOP/resource/ALBANYWT.ttf  $IAS_ORACLE_HOME/appsutil/jdk/jre/lib/fonts
cp $FND_TOP/resource/ALBANWTJ.ttf  $IAS_ORACLE_HOME/appsutil/jdk/jre/lib/fonts
cp $FND_TOP/resource/ALBANWTK.ttf $IAS_ORACLE_HOME/appsutil/jdk/jre/lib/fonts
cp $FND_TOP/resource/ALBANWTS.ttf   $IAS_ORACLE_HOME/appsutil/jdk/jre/lib/fonts
cp $FND_TOP/resource/ALBANWTT.ttf  $IAS_ORACLE_HOME/appsutil/jdk/jre/lib/fonts

2.     Replace JDK 6 with 7 on ORACLE_HOME

A.     Apply patch on 10.1.2 home


Apply Patch 12848228 and Patch 5659594 to your 10.1.2.3 Oracle Home using Opatch.

A.     Replace JDK 6 with 7 in 10.1.2 home

cd $ORACLE_HOME
mv jdk jdk_old (Rename JDK6 with jdk_old)
Copy the downloaded JDK7 to  $ORACLE_HOME/
Then rename jdk7 folder to jdk (Ex: mv jdk1.7.0_25 jdk)

B.     Rename The Following Directories

 

Cd $ORACLE_HOME
mv mv jre/1.4.2 jre/1.4.2_old

cd $IAS_ORACLE_HOME
mv jre/1.4.2 jre/1.4.2_old

A.     Post Patches for Linux platforms


Patch 14703419 ----no post and pre tasks
Patch 16207165 ---post tasks
Patch 16241466 ----no post and pre tasks
Patch 16271876 ---post tasks
Post task are performed  below
 (For Unix/Linux Only)
cd $ORACLE_HOME/lib/stubs
ln -s libjvm-1.7-stub.so libjvm.so

cd $ORACLE_HOME/forms/lib32
/* Note: if this directory does not exist, use the following command: */
cd $ORACLE_HOME/forms/lib
$ make -f ins_forms.mk sharedlib install

cd $ORACLE_HOME/reports/lib32
/* Note: if this directory does not exist, use the following command: */
cd $ORACLE_HOME/reports/lib
$ make -f ins_reports.mk install

3.      Replace JDK 6 with 7 on DB Tier


A.     Replace jdk6 on db tier

$ cd $ORACLE_HOME/appsutil
$ mv jre jre_old (Rename old jre as jre_old)
Copy downloaded jdk7 to $ORACLE_HOME/appsutil
$ mv jre1.7.0_5 jre (Rename jre7 as jre)

4.     Post Tasks

Run generate message files, form files, report files and jar files using adadmin
Navigation to run:
Login as application OS user
adadmin à Generate Applications Files menu(1) à Generate message files(1)
adadmin à Generate Applications Files menu(1) à Generate form files (2)
adadmin à Generate Applications Files menu(1) à Generate report files (3)
adadmin à Generate Applications Files menu(1) à Generate product JAR files (4)

 

No comments:

Post a Comment