Java, Semeru Runtimes and Runtimes for Business

 View Only
  • 1.  Need to install the java 11 on AIX 7.1 and 7.2

    Posted Tue March 28, 2023 01:29 PM

    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
    ------------------------------


  • 2.  RE: Need to install the java 11 on AIX 7.1 and 7.2

    Posted Tue March 28, 2023 05:04 PM

    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
    ------------------------------



  • 3.  RE: Need to install the java 11 on AIX 7.1 and 7.2

    Posted Tue March 12, 2024 01:12 PM

    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
    ------------------------------



  • 4.  RE: Need to install the java 11 on AIX 7.1 and 7.2

    Posted Wed March 13, 2024 01:28 PM

    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
    ------------------------------



  • 5.  RE: Need to install the java 11 on AIX 7.1 and 7.2

    Posted Mon September 09, 2024 09:00 AM

    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
    ------------------------------



  • 6.  RE: Need to install the java 11 on AIX 7.1 and 7.2

    Posted Mon September 09, 2024 11:08 AM

    Hi Ed,

    I believe you need to install the libc++.rte fileset.



    ------------------------------
    Paul Cheeseman
    ------------------------------



  • 7.  RE: Need to install the java 11 on AIX 7.1 and 7.2

    Posted Mon September 09, 2024 12:54 PM

    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
    ------------------------------



  • 8.  RE: Need to install the java 11 on AIX 7.1 and 7.2

    Posted Mon September 09, 2024 01:59 PM

    Yes we needed to update XLC.  Thanks to everyone for their feedback.