After installing via alternatives the latest IBM JDK on redhat 8.10 (Ootpa) x86 and when trying to update the Java Version for Db2 with
db2 UPDATE DBM CFG USING jdk_path SDK for Java-path
to
(...) (JDK_PATH) = /dbhome//sqllib/java/jdk64
following error appears:
MESSAGE : ADM0508E The database manager was unable to load the Java
interpreter library "/usr/lib/jvm/jre/lib/amd64/j9vm". This error
commonly occurs because of restrictions imposed by the operating
system. Consult the IBM documentation for a solution. If this
problem persists, contact IBM support.
**Db2 version:** DB2 v11.5.9.0, special_52441
"DYN2501101324AMD64_52441"
**Java version** "21.0.6" 2025-01-21 LTS
IBM Semeru Runtime Certified Edition 21.0.6.0 (build 21.0.6+7-LTS)
Eclipse OpenJ9 VM 21.0.6.0 (build openj9-0.49.0, JRE 21 Linux amd64-64-Bit Compressed References 20250121_373 (JIT enabled, AOT enabled)
**Question 1:** Where is the path in the error message configured, as it turns out to be not the one being defined as JDK_PATH.
**Question 2:** Is it actually possible to update the referred Db2 version to the latest JDK/JRE release and has it to be specifically an IBM JDK/J9vm?
**Question 3:** Is there any good article or documentation how to update/handle/work with Java UDFs in Db2?
*Correlates to:
https://stackoverflow.com/questions/69019194/how-to-upgrade-java-to-at-least-8-0-6-25-in-ibm-db2-v11-1*
Asked by matz3
(31 rep)
Jul 4, 2025, 03:24 PM
Last activity: Jul 11, 2025, 07:42 AM
Last activity: Jul 11, 2025, 07:42 AM