|
Please check for newer IBM Java versions and download the appropriate RPM-package for you architecture. For a newer version of Java for Linux on Itanium (IA64), please contact IBM Support.
Note: Before you start make sure your DB2 instances are shut down.
For all of the following steps, please obtain a shell with root privileges.
Finding and uninstalling older Java RPM packages
Find the Java JDK / SDK / JRE packages, which might influence with the installation of the new package installation:
Uninstall the needed packages:
Updating an existing Java installation
First install the newer IBM Java package:
Installing DB2 via db2setup with a newer IBM Java
1. Set the following environment variables:
export DB2USELOCALJRE=TRUE
export JAVA_HOME=
(e.g.: export JAVA_HOME=/opt/IBMJava2-142)
2. Launch db2setup from the same shell
Updating the instance database manager
Note: Only necessary if an instance exists on the system.
Identify all instances with the same bitness as the newly installed Java package. Update the database manager configuration for each DB2 instance to use this kit instead of the default value.
Then update the database manager configuration for each DB2 instance to use this kit instead of the default value.
e.g.: db2 update dbm cfg using JDK_PATH /opt/IBMJava2-142
The path specified in this example is the base installation folder of the installed Java 1.4.2 package. If different from above this can be found out by listing the content of the installed Java package:
|