After installing the libc++.rte it looks resolved, But during every execution of java -version is generating core dump.
# ./java -version
java version "11.0.21" 2023-10-17
IBM Semeru Runtime Certified Edition 11.0.21.0 (build 11.0.21+9)
Eclipse OpenJ9 VM 11.0.21.0 (build openj9-0.41.0, JRE 11 AIX ppc64-64-Bit Compressed References 20231122_711 (JIT enabled, AOT enabled)
OpenJ9 - 461bf3c70
OMR - 5eee6ad9d
JCL - 6f4cc08025 based on jdk-11.0.21+9)
JVMDUMP039I Processing dump event "abort", detail "" at 2024/03/13 22:54:10 - please wait.
JVMDUMP032I JVM requested System dump using '/tmp/java_11/jdk-11.0.21+9-jre/bin/core.20240313.225410.13369608.0001.dmp' in response to an event
JVMDUMP010I System dump written to /tmp/java_11/jdk-11.0.21+9-jre/bin/core.20240313.225410.13369608.0001.dmp
JVMDUMP032I JVM requested Java dump using '/tmp/java_11/jdk-11.0.21+9-jre/bin/javacore.20240313.225410.13369608.0002.txt' in response to an event
JVMDUMP010I Java dump written to /tmp/java_11/jdk-11.0.21+9-jre/bin/javacore.20240313.225410.13369608.0002.txt
JVMDUMP032I JVM requested Snap dump using '/tmp/java_11/jdk-11.0.21+9-jre/bin/Snap.20240313.225410.13369608.0003.trc' in response to an event
JVMDUMP010I Snap dump written to /tmp/java_11/jdk-11.0.21+9-jre/bin/Snap.20240313.225410.13369608.0003.trc
JVMDUMP032I JVM requested JIT dump using '/tmp/java_11/jdk-11.0.21+9-jre/bin/jitdump.20240313.225410.13369608.0004.dmp' in response to an event
JVMDUMP051I JIT dump occurred in 'JIT Compilation Thread-000' thread 0x0000000030012C00
JVMDUMP049I JIT dump notified all waiting threads of the current method to be compiled
JVMDUMP054I JIT dump is tracing the IL of the method on the crashed compilation thread
JVMDUMP048I JIT dump method being compiled is an ordinary method
JVMDUMP053I JIT dump is recompiling jdk/internal/misc/Unsafe.objectFieldOffset1(Ljava/lang/Class;Ljava/lang/String;)J
JVMDUMP010I JIT dump written to /tmp/java_11/jdk-11.0.21+9-jre/bin/jitdump.20240313.225410.13369608.0004.dmp
JVMDUMP013I Processed dump event "abort", detail "".
Can someone suggest please.
Thanks
------------------------------
AXIS ADMIN
------------------------------
Original Message:
Sent: Tue March 12, 2024 01:11 PM
From: AXIS ADMIN
Subject: Need to install the java 11 on AIX 7.1 and 7.2
Hi Team,
We too are getting the same error...
# ./java -version
failed to open </nmon_data/java/java/jdk-11.0.21+9-jre/lib/default/libjvm.so> - reason: < 0509-022 Cannot load module /nmon_data/java/java/jdk-11.0.21+9-jre/lib/default/libjvm.so.
0509-150 Dependent module libc++.a(shr_64.o) could not be loaded.
0509-022 Cannot load module libc++.a(shr_64.o).
0509-026 System error: A file or directory in the path name does not exist.
0509-022 Cannot load module /nmon_data/java/java/jdk-11.0.21+9-jre/lib/default/libjvm.so.
0509-150 Dependent module /nmon_data/java/java/jdk-11.0.21+9-jre/lib/default/libjvm.so could not be loaded.>
Failed to find VM - aborting
#
Below Xlc is already installed.
# lslpp -l |grep -i xlc
xlC.aix61.rte 16.1.0.10 COMMITTED IBM XL C++ Runtime for AIX 6.1
xlC.cpp 9.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.en_US.cpp 9.0.0.0 COMMITTED C for AIX Preprocessor
xlC.msg.en_US.rte 16.1.0.10 COMMITTED IBM XL C++ Runtime
xlC.rte 16.1.0.10 COMMITTED IBM XL C++ Runtime for AIX
xlC.sup.aix50.rte 9.0.0.1 COMMITTED XL C/C++ Runtime for AIX 5.2
#
Do we need to check any other package?
Please note, we have not doen any installation of Java11, Only extracted a ibm-semeru-certified-jre_ppc64_aix_11.0.21.0.tar, When switching to the bin directory, java -version is working in another server, but not on the problematic server.
Thanks in advance.
------------------------------
AXIS ADMIN
Original Message:
Sent: Tue March 28, 2023 05:03 PM
From: Adam Brousseau
Subject: Need to install the java 11 on AIX 7.1 and 7.2
Hi Gaurav,
I think this is the information you need:
Important: IBM Semeru Runtimes, Version 17 on AIX require the 16.1.0.7 or later, XL C++ Runtime.
Taken from: https://www.ibm.com/support/pages/semeru-runtimes-support
------------------------------
Adam Brousseau
Original Message:
Sent: Tue March 28, 2023 01:28 PM
From: Gaurav Sood
Subject: Need to install the java 11 on AIX 7.1 and 7.2
Hi,
I am trying to install the java11 on AIX 7.1 and 7.2 by using the tar ball, but while checking the java version it is giving error for the below dependancy.
root@ptestbox3[/opt/freeware/lib]#/tmp/Java11/jdk-11.0.18+10/bin/java --version
failed to open </tmp/Java11/jdk-11.0.18+10/lib/default/libjvm.so> - reason: < 0509-022 Cannot load module /tmp/Java11/jdk-11.0.18+10/lib/default/libjvm.so.
0509-150 Dependent module libc++.a(shr_64.o) could not be loaded.
0509-022 Cannot load module libc++.a(shr_64.o).
0509-026 System error: A file or directory in the path name does not exist.
0509-022 Cannot load module /tmp/Java11/jdk-11.0.18+10/lib/default/libjvm.so.
0509-150 Dependent module /tmp/Java11/jdk-11.0.18+10/lib/default/libjvm.so could not be loaded.>
Failed to find VM - aborting
root@ptestbox3[/opt/freeware/lib]#
Can you please help to find out the solution to fix this dependency.
------------------------------
Gaurav Sood
------------------------------