Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8269668

[aarch64] java.library.path not including /usr/lib64

    XMLWordPrintable

Details

    • b30
    • aarch64
    • linux

    Backports

      Description

        Other 64bit architectures have a DEFAULT_LIBPATH that includes /usr/lib64 in addition to /usr/lib and /lib as shown by the output of -XshowSettings:properties. However, on aarch64 that is not the case, breaking some JNI library code that expects native libraries to be loaded via System.loadLibrary("foo") where "foo" is at path /usr/lib64/libfoo.so

        Actual (on aarch64):
            java.library.path = /usr/java/packages/lib
                /lib
                /usr/lib

        Expected (on aarch64):
            java.library.path = /usr/java/packages/lib
                /usr/lib64
                /lib64
                /lib
                /usr/lib

        Attachments

          Issue Links

            Activity

              People

                sgehwolf Severin Gehwolf
                sgehwolf Severin Gehwolf
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: