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

System.loadLibrary cannot find library when path contains quoted entry

    XMLWordPrintable

Details

    • b48
    • Verified

    Backports

      Description

        System.loadLibrary fails on Windows when path/java.library.path are of
        a certain format, e.g. individually quoted.

        On Windows PATH entries can be individually quoted (that's not necessary, but still possible).
        http://blogs.msdn.com/b/oldnewthing/archive/2006/09/29/776926.aspx

        Checking Windows command line shell confirms, it understands PATH correctly, whether its entries are quoted or not.

        On Unix individual entries of the PATH variable cannot be quoted (checked with bash).
        http://stackoverflow.com/questions/14661373/how-to-escape-colon-in-path-on-unix

        Attachments

          Issue Links

            Activity

              People

                igerasim Ivan Gerasimov
                shadowbug Shadow Bug
                Votes:
                0 Vote for this issue
                Watchers:
                5 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved: