IBM Support

IV89126: 64-BIT JDKS ON LINUX AND AIX SHOULD ADD /USR/LIB64 TO JAVA.LIBRA RY.PATH AHEAD OF /USR/LIB

Subscribe to this APAR

By subscribing, you receive periodic emails alerting you to the status of the APAR, along with a link to the fix after it becomes available. You can track this item individually or track all items by product.

Notify me when this APAR changes.

Notify me when an APAR for this component changes.

APAR status

  • Closed as program error.

Error description

  • Error Message: Errors due the 32-bit version of a native library
    getting loaded when the application expects the 64-bit version,
    such as:
    java.lang.UnsatisfiedLinkError: /usr/lib/libcrypt.so: wrong ELF
    class:  ELFCLASS32
    .
    Stack Trace: N/A
    .
    

Local fix

  • Set the LD_LIBRARY_PATH environment variable such that
    /usr/lib64 is searched ahead of /usr/lib
    

Problem summary

  • The java.library.path system property for 64-bit JDKs on Linux
    and AIX did not have /usr/lib64 ahead of /usr/lib
    

Problem conclusion

  • The jvm has been modified to have /usr/lib64 ahead of /usr/lib
    in the java.library.path
    .
    This APAR will be fixed in the following Java Releases:
       7    SR9 FP60  (7.0.9.60)
       6 R1 SR8 FP35  (6.1.8.35)
       7 R1 SR3 FP60  (7.1.3.60)
       8    SR3 FP20  (8.0.3.20)
    .
    Contact your IBM Product's Service Team for these Service
    Refreshes and Fix Packs.
    For those running stand-alone, information about the available
    Service Refreshes and Fix Packs can be found at:
               https://www.ibm.com/developerworks/java/jdk/
    

Temporary fix

Comments

APAR Information

  • APAR number

    IV89126

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    260

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt / Xsystem

  • Submitted date

    2016-09-13

  • Closed date

    2016-09-15

  • Last modified date

    2016-09-15

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

Fix information

  • Fixed component name

    J9 COMMON CODE

  • Fixed component ID

    620700127

Applicable component levels

  • R260 PSY

       UP

  • R270 PSY

       UP



Document information

More support for: Runtimes for Java Technology
Virtual Machine

Software version: 260

Reference #: IV89126

Modified date: 15 September 2016