Professional Documents
Culture Documents
Before you upgrade the Java version, it is essential to check that there is no open online patching
cycle by running one of the following commands:
UNIX:
$ adop -status
UNIX:
$ adop phase=prepare
UNIX:
$ cd /d02/R122 /* <EBS_BASE_HOME> where fs1, fs2 and others are installed. */
$ . ./EBSapps.env /*Type "P" to select the PATCH file system environment when prompted. */
$ echo $FILE_EDITION /* This returns "patch" to indicate that it uses the patch file
system environment. */
Note: Unless the run file system is mentioned explicitly, references to all files (such as the Oracle E-
Business Suite context files and environment setup scripts), refer to the copies under the patch file
system. This includes the directories mentioned in this document.
Upgrading to Latest Java 7.0 on Application Tier Nodes:
Click on the below link to download the Java for Linux x86-64 from the site that corresponds to the
operating system being used on the application tier node. Download the JDK, not the Java Runtime
Environment (JRE).
Download and apply the following Oracle E-Business Suite updates to your Oracle E-Business
Suite Release 12.2.2 instance:
Additional Notes:
For the Oracle E-Business Suite running on 64-bit hardware architectures, the 64-bit Java
is used for the application tier node and for the cloning tools. For the CP tier node and
AD/AutoConfig, the 32-bit Java is still used. * In 12.2.6 or higher, the 64-bit Java is used
for the CP tier by default.
If Oracle E-Business Suite environment is installed using startCD 47 or above, the JDK 7
installations are already in place in the targeted locations listed above.
After the JDK upgrade, any additional certificates added to the cacerts file directory
(usually located in [COMMON_TOP]/util/<java>/jre/lib/security directory) will be lost.
Keep a copy of the original cacerts file which can be used to restore back. Or make a note
that the cacerts file will need to be added back in the final targeted JDK 7 installation
directory. Refer to My Oracle Support Knowledge Document 1591073.1, Enhanced Jar
Signing for Oracle E-Business Suite.
Upgrading Java Home Used with Oracle E-Business Suite Release 12.2:
When upgrading to JDK 7.0, the final targeted JDK 7 installation must be located in
[COMMON_TOP]/util/<java>, where <java> could be "jdk", "jdk32", and "jdk64" depending on
the bitness of the JDK. Depending on the type of Java installed or the Oracle E-Business Suite
environment setup, there are two scenarios of the JDK 7.0 upgrade process as follows:
1. Final targeted JDK 7 installation location different from the existing JRockit or JDK 6
installation location, which includes:
o First-time Java 6 upgrading to JDK 7 on Linux or Solaris operating system
2. Final targeted JDK 7 installation location same as for the existing JDK installation (but
the existing JDK version is different from the latest JDK 7 Update), which includes:
o First-time JDK 6 upgrading to JDK 7 on HP-UX or IBM AIX operating system
o Already upgraded JDK 7 environment with the lower revision upgrading to the
latest revision of JDK 7.0 Update on any operating system
Select the appropriate one above and proceed the next step.
Prior the upgrade, there is an existing old JDK installed into the fixed location under
[COMMON_TOP]/util/<java>, where <java> is "jdk", "jdk32", and "jdk64". To upgrade to the
latest JDK 7.0 Update, it becomes easy by replacing the contents of the existing old JDK with
the ones of latest JDK 7.0 Update. There are no configuration changes required. Perform the
following steps.
Install New JDK 7.0 and Replace the Existing JDK Home Contents:
For each unique JDK location listed, replace it with a corresponding JDK7 installation with the same
bitness either by copying the installation from the newly downloaded location, or by replacing the entire
JDK location with a new installation.
Note: If JDK 7.0 is installed by copying the installation from an existing JDK 7.0 directory, UNIX/Linux
users should ensure that the symbolic links (soft links) are preserved when copying. On most UNIX
platforms, this can be accomplished with the cp -RH command. Consult the UNIX man page for the cp
command to check the parameters available on your platform.
Alternatively, the tar command can be used to compress the directories into a temporary staging area.
UNIX/Linux users should ensure that the symbolic links (soft links) are preserved when compressing. On
most UNIX platforms, this is the default behavior of the tar command. Consult the UNIX man page for
the tar command to check the parameters available on your platform.
64-bit Linux x86-64 operating system (for JDK 7.0 previously migrated environment):
$ cd $COMMON_TOP/util/
$ rm -rf jdk32 /* Remove previous JDK 7 maintenance release */
$ rm -rf jdk64 /* Remove previous JDK 7 maintenance release */
$ /* Install the latest JDK 7.0 Update here*/
$ mv jdk1.7.0_[latest_32-bit_update#] jdk32
$ mv jdk1.7.0_[latest_64-bit_update#] jdk64
cd /backup/JDK170191/32
mv jdk1.7.0_191 jdk32
cp -RH jdk32/ $COMMON_TOP/util
cd /backup/JDK170191/64
mv jdk1.7.0_191 jdk64
cp -RH jdk64/ $COMMON_TOP/util
Note: For all platforms, after replacing the old Java install home with the new certified JDK 7.0 Update,
do not rename the [COMMON_TOP]/util/jdk, [COMMON_TOP]/util/jdk32, or
[COMMON_TOP]/util/jdk64 directories. If you do, the Oracle E-Business Suite application tier will not
function correctly.
cd $ADMIN_SCRIPTS_HOME
./adautocfg.sh appspass={APPSPASSWORD}
Replace JDK Home Used in the Web Tier of Oracle Fusion Middleware 11g Home:
The JDK home within the web tier of Oracle Fusion Middleware 11g Home can be replaced by
entering the applicable commands below.
UNIX:
$ cd $FMW_HOME/webtier
$ mv jdk jdk_03DEC2021
/* Now install the downloaded latest JDK 7.0 Update. In this example, the version is 1.7.0_9.
Then perform the following steps. */
$ cd /backup/JDK170191/64
$ cp -RH jdk64/ $FMW_HOME/webtier
cd $FMW_HOME/webtier
$ mv jdk64/ jdk
The JDK 7.0 upgrade for the Oracle Fusion Middleware 11g web tier is now complete.
This section describes the steps to upgrade the JDK with the latest Java 7.0 Update in the 10.1.2 Oracle
Home on the patch file system.
Replace JDK Home Used with Oracle E-Business Suite Release 12.2:
The JDK home within the OracleAS 10.1.2 Forms and Reports ORACLE_HOME can be
replaced by entering the applicable commands below.
UNIX:
$ cd /d02/R122/fs1/EBSapps/10.1.2/
$ mv jdk jdk_03Dec2021
/* Now install the downloaded latest JDK 7.0 Update here. In this example the
version is 1.7.0_9. Then perform the following step. */
$ cd /backup/JDK170191/32
$ cp -RH jdk32 /d02/R122/fs1/EBSapps/10.1.2/
$ cd /d02/R122/fs1/EBSapps/10.1.2/
$ mv jdk32 jdk
The following OracleAS 10.1.2 patches are required before the JDK 7.0 upgrade on the
OracleAS 10.1.2 Oracle_Home on the Linux platform only:
Obtain them and apply using OPatch. Be sure to apply the OracleAS 10.1.2 Patch 16271876
first.
Note: When applying any above patches, ignore the conflicts with any existing installed patches if there
are. The above patches already have the fixes from the conflicting patches. Also, the Patch 17907988
should be applied before the Forms Patch 17653437 application.
Source the environment to point to the 10.1.2 Oracle Home before relinking forms and reports
executables.
$ cd $ORACLE_HOME/forms/lib32
/* If this directory does not exist, do the following: */
$ cd $ORACLE_HOME/forms/lib
$ make -f ins_forms.mk sharedlib install
$
$ cd $ORACLE_HOME/reports/lib32
/* If this directory does not exist, do the following: */
$ cd $ORACLE_HOME/reports/lib
$ make -f ins_reports.mk install
The JDK 7.0 upgrade for the Oracle Home 10.1.2 is now complete.
UNIX:
$ adop phase=cutover
Follow these steps to verify that Java 7.0 has been successfully installed on all the Web server
node(s):
cd /d02/R122/
. ./EBSapps.env run
[oracle@erptest1 R122]$
cd $OA_HTML
/d02/R122/fs1/FMW_Home/Oracle_EBS-app1/applications/oacore/html
vi JDKtest.jsp
The JDK version is: <%= System.getProperty("java.version") %>
UNIX:
http://[web server]:[port]/OA_HTML/JDKtest.jsp
Open the $APPL_TOP/admin/adovars.env file and ensure that the environment variables below
are defined. Run the following commands to verify that the environment variables ADJVAPRG
and AFJVAPRG point to the JDK 7.0 executable. The CLASSPATH and AF_CLASSPATH
environment variables must contain the necessary JDK 7.0 libraries.
UNIX:
$ $ADJVAPRG -version
$ echo $CLASSPATH
$ $AFJVAPRG -version
$ echo $AF_CLASSPATH
The CLASSPATH and AF_CLASSPATH environment variable must contain the necessary Java
7.0 libraries, which should include:
[COMMON_TOP]/util/<Java7>/lib/dt.jar
[COMMON_TOP]/util/<Java7>/lib/tools.jar
[COMMON_TOP]/util/<Java7>/jre/lib/rt.jar
where <Java7> is the installation directory for the latest JDK 7.0 Update.
2. Check the Concurrent > Manager > Administer form and ensure that all managers have the
appropriate numbers for their actual and target.
Synchronize the Run File System and the Patch File System:
After the completion of the verification, both file systems need to be synchronized for the
changes of the newly installed Java 7.0 Uptake. Perform the following command:
UNIX:
$ adop phase=fs_clone
Replace JRE Home Used with Oracle E-Business Suite Release 12.2:
The Oracle E-Business Suite database tier uses the JRE 7.0 from a fixed installation location,
[ORACLE_HOME]/appsutil/jre. This can be replaced by copying the install from a separate default
location or working directory, or by installing the new version following the procedure below, which
replaces the old JRE installation used by AutoConfig with a new one for each database tier node. Enter
the applicable commands.
UNIX:
$ cd /backup/JRE170191
$ unzip p28740726_170191_Linux-x86-64.zip
$ tar -xvf jre-7u191-linux-x64.tar.gz
$ mv jre1.7.0_191/ jre
$ cd $ORACLE_HOME/appsutil
$ mv jre jre_02Nov2021
$ cd /backup/JRE170191
$ cp -RH jre $ORACLE_HOME/appsutil
Note:
The Oracle E-Business Suite system is now configured to use the latest JRE 7.0 Update on the
database tier.
[oracle@erptest1 bin]$