Yes we needed to update XLC. Thanks to everyone for their feedback.
Original Message:
Sent: 9/9/2024 11:16:00 AM
From: Julian Wang
Subject: RE: Need to install the java 11 on AIX 7.1 and 7.2
the only suggestion i have is to install the appropriate runtime update from here:
https://www.ibm.com/support/pages/node/612497
i tested semeru11 latest certified version as below:
-bash-5.0$ semeru11.0.24/bin/java -version
java version "11.0.24" 2024-07-16
IBM Semeru Runtime Certified Edition 11.0.24.0 (build 11.0.24+8)
Eclipse OpenJ9 VM 11.0.24.0 (build openj9-0.46.0, JRE 11 AIX ppc64-64-Bit Compressed References 20240802_900 (JIT enabled, AOT enabled)
OpenJ9 - 1a6f6128aa
OMR - 840a9adba
JCL - 253a1f4554 based on jdk-11.0.24+8)
the runtime installed on my system:
-bash-5.0$ lslpp -l |grep -i xlc
openxlCcmp.17.1.2.bundle 17.1.2.0 COMMITTED Open XL C++ media defined
openxlCcmp.17.1.2.lib 17.1.2.1 COMMITTED Open XL C/C++ libraries
openxlCcmp.17.1.2.license
openxlCcmp.17.1.2.ndi 17.1.2.0 COMMITTED Open XL C++ non-default
xlC.adt.include 16.1.0.10 COMMITTED C Set ++ Application
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
------------------------------
Julian Wang
------------------------------
Original Message:
Sent: Mon September 09, 2024 08:59 AM
From: Ed Stuart
Subject: Need to install the java 11 on AIX 7.1 and 7.2
We are also experiencing the same issue.
Our goal here is to install the most current version of Java 11 on AIX 7200-05-07-2346. How do we make this happen?
# java -version
failed to open </opt/ibm/ibm-semeru-certified-11-jdk/lib/default/libjvm.so> - reason: < 0509-022 Cannot load module /opt/ibm/ibm-semeru-certified-11-jdk/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 /opt/ibm/ibm-semeru-certified-11-jdk/lib/default/libjvm.so.
0509-150 Dependent module /opt/ibm/ibm-semeru-certified-11-jdk/lib/default/libjvm.so could not be loaded.>
Failed to find VM - aborting
# lslpp -l | grep -i xlc
xlC.adt.include 8.0.0.0 COMMITTED C Set ++ Application
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
------------------------------
Ed Stuart
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
------------------------------