AIX Open Source

AIX Open Source

Share your experiences and connect with fellow developers to discover how to build and manage open source software for the AIX operating system

 View Only
  • 1.  Issues installing Semeru open jdk & jre 21.0.4.1 on AIX 7.3

    Posted Tue March 11, 2025 08:34 PM

    I'm trying to install the Open Edition of Semeru Java version 21.0.4.1 using the RPM downloads on an AIX 7.3 TL02 SP2 server with DNF configured.

    The installs run error-free, but /usr/lib/jvm is not created. Java version 8 was previously installed. Is that an issue?

    #dnf install ibm-semeru-open-21-jdk-21.0.4.7_0.46.1-1.ppc64.rpm
    AIX generic repository                                                                                                          3.0 MB/s |  21 MB     00:06
    AIX noarch repository                                                                                                           1.7 MB/s | 3.5 MB     00:02
    Last metadata expiration check: 0:00:04 ago on Tue Mar 11 16:38:20 PDT 2025.
    Dependencies resolved.
    ================================================================================================================================================================
     Package                                       Architecture               Version                                     Repository                           Size
    ================================================================================================================================================================
    Installing:
     ibm-semeru-open-21-jdk                        ppc                        21.0.4.7_0.46.1-1                           @commandline                        236 M

    Transaction Summary
    ================================================================================================================================================================
    Install  1 Package

    Total size: 236 M
    Installed size: 419 M
    Is this ok [y/N]: y
    Downloading Packages:
    Running transaction check
    Transaction check succeeded.
    Running transaction test
    Transaction test succeeded.
    Running transaction
      Preparing        :                                                                                                                                        1/1
      Installing       : ibm-semeru-open-21-jdk-21.0.4.7_0.46.1-1.ppc                                                                                           1/1
      Verifying        : ibm-semeru-open-21-jdk-21.0.4.7_0.46.1-1.ppc                                                                                           1/1

    Installed:
      ibm-semeru-open-21-jdk-21.0.4.7_0.46.1-1.ppc

    Complete!


    #dnf install ibm-semeru-open-21-jre-21.0.4.7_0.46.1-1.ppc64.rpm
    Last metadata expiration check: 0:01:10 ago on Tue Mar 11 16:38:20 PDT 2025.
    Dependencies resolved.
    ================================================================================================================================================================
     Package                                       Architecture               Version                                     Repository                           Size
    ================================================================================================================================================================
    Installing:
     ibm-semeru-open-21-jre                        ppc                        21.0.4.7_0.46.1-1                           @commandline                         62 M

    Transaction Summary
    ================================================================================================================================================================
    Install  1 Package

    Total size: 62 M
    Installed size: 206 M
    Is this ok [y/N]: y
    Downloading Packages:
    Running transaction check
    Transaction check succeeded.
    Running transaction test
    Transaction test succeeded.
    Running transaction
      Preparing        :                                                                                                                                        1/1
      Installing       : ibm-semeru-open-21-jre-21.0.4.7_0.46.1-1.ppc                                                                                           1/1
      Verifying        : ibm-semeru-open-21-jre-21.0.4.7_0.46.1-1.ppc                                                                                           1/1

    Installed:
      ibm-semeru-open-21-jre-21.0.4.7_0.46.1-1.ppc

    Complete!

    #cd /usr/lib/jvm
    ksh: /usr/lib/jvm:  not found.

    #java -version
    ksh: java:  not found.



    ------------------------------
    Steve Purton
    ------------------------------


  • 2.  RE: Issues installing Semeru open jdk & jre 21.0.4.1 on AIX 7.3

    Posted Wed March 12, 2025 01:29 AM

    Please find out where the files are getting installed.

    You can use rpm command to find that and then use that.

     

    # rpm -ql ibm-semeru-open-21-jdk-21.0.4.7_0.46.1-1.ppc

    And

    # rpm -ql ibm-semeru-open-21-jre-21.0.4.7_0.46.1-1.ppc

     

    Thanks,

     

     






  • 3.  RE: Issues installing Semeru open jdk & jre 21.0.4.1 on AIX 7.3

    Posted Wed March 12, 2025 07:00 AM

    Hello Steve,

    I think semeru is installed by default in /opt

    i.e for Semeru JDK 17,  it is :

    # cd /opt/ibm-semeru-open-17-jdk/bin
    # ./java -version
    openjdk version "17.0.12" 2024-07-16
    IBM Semeru Runtime Open Edition 17.0.12.1 (build 17.0.12+7)

    regard,



    ------------------------------
    Florent LARDIERE
    ------------------------------



  • 4.  RE: Issues installing Semeru open jdk & jre 21.0.4.1 on AIX 7.3

    Posted Wed March 12, 2025 12:34 PM

    Thank You! I confirmed that the binaries are under /opt and I can confirm the "java -version" from the bin subdirectory.

    # (/opt/ibm-semeru-open-21-jdk/bin)>./java -version
    openjdk version "21.0.4" 2024-07-16 LTS
    IBM Semeru Runtime Open Edition 21.0.4.1 (build 21.0.4+7-LTS)
    Eclipse OpenJ9 VM 21.0.4.1 (build openj9-0.46.1, JRE 21 AIX ppc64-64-Bit Compressed References 20240716_257 (JIT enabled, AOT enabled)
    OpenJ9   - 4760d5d320
    OMR      - 840a9adba
    JCL      - db3fffb417c based on jdk-21.0.4+7)



    ------------------------------
    Steve Purton
    ------------------------------