IBM Support

IV74802: UNSATISFIEDLINKERROR THROWN WHEN LOADING A NATIVE LIBRARY THAT N OT IN THE PATH SPECIFIED VIA -DJAVA.LIBRARY.PATH

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • Error Message: N/A
    .
    Stack Trace: java.lang.UnsatisfiedLinkError: ibmcac (Not found
    in java.library.path)
     at java.lang.ClassLoader.loadLibraryWithPath
     at java.lang.ClassLoader.loadLibraryWithClassLoader
     at java.lang.System.loadLibrary
    .
    

Local fix

  • Modify the path specified via -Djava.library.path to include the
    folder where the native library can't be loaded.
    

Problem summary

  • The problem is caused when java.library.path is set to a path
    not including the default searching path, and JVM doesn't search
    in the default path in this case.
    

Problem conclusion

  • The JVM has been updated to still search the default search path
    when java.library.path is set to a path that doesn't include the
    default locations.
    .
    This APAR will be fixed in the following Java Releases:
       8    SR2       (8.0.2.0)
       6 R1 SR9       (6.1.9.0)
       7    SR10      (7.0.10.0)
       7 R1 SR4       (7.1.4.0)
       6    SR17      (6.0.17.0)
    .
    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

    IV74802

  • Reported component name

    J9 COMMON CODE

  • Reported component ID

    620700127

  • Reported release

    270

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2015-07-03

  • Closed date

    2015-07-03

  • Last modified date

    2015-09-11

  • 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

  • R270 PSY

       UP

  • R260 PSY

       UP

  • R600 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSNVBF","label":"Runtimes for Java Technology"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.0","Line of Business":{"code":"LOB36","label":"IBM Automation"}}]

Document Information

Modified date:
21 February 2022