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

SymbolLookup.libraryLookup does not lookup java.library.path

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Not an Issue
    • Icon: P3 P3
    • None
    • 21
    • core-libs
    • None

      Library lookup is only working with LD_LIBRARY_PATH. Command line option -Djava.library.path=<lib> isn't working.

      SymbolLookup.libraryLookup("libXYZ.so", Arena.ofAuto());
      On using java command line -Djava.library.path=<libpath>, throws cannot open library (IllegalArgumentException).
      With the LD_LIBRARY_PATH=<libpath>, above call succeeds.

            Unassigned Unassigned
            pgundarlahal Prashanthram Gundarlahally
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: