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

java.library.path is not set properly by Windows jpackage app launcher

XMLWordPrintable

    • b11
    • generic
    • windows

        JDK-8267598 removed the regression caused by JDK-8263157 without actually fixing the problem described in JDK-8263157 on Windows.
        JDK-8267598 fix was to set environment variable used by JLI initialization code to configure the value of java.library.path system property instead of setting the system property directly.
        It turned out that on Windows setting `PATH` environment variable from jpackage app launcher doesn't affect the output of getenv() called from jli.dll from open/src/hotspot/os/windows/os_windows.cpp os::init_system_properties_values().

              asemenyuk Alexey Semenyuk
              asemenyuk Alexey Semenyuk
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: