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

LibraryLookup should lookup libraries in system specific folders

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Won't Fix
    • P4
    • None
    • repo-panama
    • tools

    Description

      LibraryLookup.ofName looks up a library name in the default system library paths. These paths are hardwired in the hotspot code and typically include just /usr/lib and other few common locations.

      The set of paths can be altered by setting the JDK property "java.library.path" - but other frameworks, such as JNR are smarter in this respect, and try to take full advantage of the environment they are executing on (for instance, on Linux, JNR uses `ld` and its cache to locate where libraries are).

      To improve usability, it would be great if LibraryLookup could be enhanced in a similar fashion.

      Attachments

        Issue Links

          Activity

            People

              sundar Sundararajan Athijegannathan
              mcimadamore Maurizio Cimadamore
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: