Saturday, February 4, 2012

How to Update the Default JDK Installed in Oracle Application Server 10g 10.1.2.0.2 in Windows

We are currently running Oracle Application Server 10g 10.1.2.0.2 on a Windows 2003 x64 Server. The default Java that came with this release is Java 1.4.2. Now, one of our developers approached me and requested me to upgrade the Java so that she could use some of the new features in Java 6. Usually I would decline this request and force developers to use the existing technology. But in this case, I did differently because the Java running on our server is quite old and a bit slow.

Anyway, here's what I did to upgrade the Java.

First, download the JDK you need from oracle.com. In my case I downloaded JDK 1.6 update 13.



Then, stop all running Oracle processes.

Install the downloaded package with its default settings (just do a next-next-next install).

Now backup the old JDK directory. This should be located at $ORACLE_HOME/jdk. Rename this directory to jdk.orig.

Now copy the newly installed JDK to the same location. You can find this in C:\Program Files\Java\.

Copy the following directories over the newly created $ORACLE_HOME/jdk WITHOUToverwriting the old files.

$ORACLE_HOME/jdk.orig/jre/lib/ext

and

$ORACLE_HOME/jdk.orig/jre/lib/fonts


Finally, start all Oracle Services.



REFERENCES
==========
How to Update the Default JDK Installed in Application Server 9.0.4 and 10.1.2 [ID 272808.1]

No comments:

Post a Comment