Provide a vm switch to pass JNI library path

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Won't Fix
    • Priority: P4
    • None
    • Affects Version/s: None
    • Component/s: tools
    • None

      Currently developers need to use -Djava.library.path property to pass the native library path to VM.

      Since it is a Java Property, it has it's own limitations. (Properties can't be repeated)
      e.g. All of the native library paths has to be passed in on go with **platform specific path separator**.
      (windows) -Djava.library.path=path/to/foo;path/to/bar;...;
      (*nix) -Djava.library.path=path/to/foo:path/to/bar:

      However if there is a proper JVM switch (as we have -class-path, -module-path), developer can easily use without any much ordering issues.
      e.g.
      --native-library-path path/to/foo --native-library-path path/to/bar

            Assignee:
            Unassigned
            Reporter:
            Arunprasad Rajkumar
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: