WindbgDebuggerLocal should not try to load 64-bit debug libraries for 32-bit JVM

XMLWordPrintable

    • svc
    • b85
    • generic
    • windows

        If 32-bit JVM is running on Windows-x64 host with installed 64-bit version of Debugging tools for Windows, then WindbgDebuggerLocal may throw UnsatisfiedLinkError:
        java.lang.UnsatisfiedLinkError: C:\Program Files\Debugging Tools for Windows (x64)\dbghelp.dll: Can't load AMD 64-bit .dll on a IA 32-bit platform

        But there could be an appropriate dbghelp.dll in Windows\System32 path.

        For 32-bit JVM WindbgDebuggerLocal should avoid path "%SYSTEMROOT%\Program Files\Debugging Tools for Windows (x64)" or at least expect UnsatisfiedLinkError when it load dlls from that place.

        See comments for more details.

              Assignee:
              Peter Allwin (Inactive)
              Reporter:
              Filipp Zhinkin
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: