With HP-UX and Solaris HiRDB, JRE (the Java execution environment), which is required to use Java stored procedures and functions, is bundled with version 07-02 and earlier but not with version 07-03 or later. When you update HiRDB version 07-02 or earlier to version 07-03 or later, the version of JRE that was installed with HiRDB version 07-02 or earlier is deleted in the following situations:
When | What is deleted |
---|
- When uninstalling HiRDB version 07-02 or earlier
- When overwrite installing HiRDB version 07-03 or later
| JRE of the HiRDB installation directory |
When executing the pdsetup -d command and sending y in response to the KFPS00036-Q message | JRE of the HiRDB directory |
Therefore, if you perform the installation described in 1.3.3 Installing a new version while retaining the old version, you can use the JRE of the HiRDB directory of the old version (07-02 or earlier). However, if you install a new version (07-03 or later), the JRE of the HiRDB installation directory is deleted.
Note the following tips when upgrading to HiRDB version 07-03 or later:
- To use Java stored procedures and functions, you must obtain JRE beforehand (you can obtain it from the website of the platform vendor). For details about the specific JRE that is required to use Java stored procedures and functions, see the manual HiRDB Version 8 System Operation Guide.
- To use Java stored procedures and functions, you must specify in the pd_java_runtimepath operand the root directory of JRE to be used. Also, as required, specify in the pd_java_libpath operand the directory where the Java virtual machine is stored. For details about the pd_java_runtimepath and pd_java_libpath operands, see the manual HiRDB Version 8 System Definition.
- To use the JRE installed with the old version after upgrading to a new version, back up JRE to a directory other than either the installation directory or the HiRDB operation directory before deleting JRE. By specifying in the pd_java_runtimepath operand the directory in which JRE is backed up, you can use the backed up version of JRE to run Java stored procedures and functions.