JDK-6823231 : Installing Debugging Tools For Windows on Windows 2000 does not always enable SAJDI functionality
  • Type: Enhancement
  • Component: hotspot
  • Sub-Component: svc
  • Affected Version: 7
  • Priority: P5
  • Status: Closed
  • Resolution: Duplicate
  • OS: windows_2000
  • CPU: x86
  • Submitted: 2009-03-27
  • Updated: 2011-01-27
  • Resolved: 2011-01-27
Related Reports
Duplicate :  
Description
According to the error message
"File dbgeng.dll does not exist in C:\WINN
T\system32.  Please search microsoft.com for Debugging Tools For Windows, and either download it to 
the default location, or download it to a custom location and set environment variable    DEBUGGINGT
OOLSFORWINDOWS  to the pathname of that location."
it is enough to install DTFW to get rid of that problem.
However installing the latest DTFW to the default path does not solve the problem

Comments
WORK AROUND The DEBUGGINGTOOLSFORWINDOWS environment variable can be set to the path of the "Debugging Tools for Windows" package.
27-01-2011

EVALUATION This issue was resolved as part of the fix for the following: 6987812 2/3 SAJDI: "gHotSpotVMTypes was not initialized properly in the remote process" Here is the URL for the changeset: http://hg.openjdk.java.net/jdk7/hotspot-rt/hotspot/rev/d6cd0d55d0b5 Here is the current error message if the dbghelp.dll and dbgeng.dll libraries cannot be found: + throw new UnsatisfiedLinkError(mesg + + "Please search microsoft.com for 'Debugging Tools For Windows', " + + "and either download it to the default location, or download it " + + "to a custom location and set environment variable " + + "'DEBUGGINGTOOLSFORWINDOWS' to the pathname of that location."); I'm closing this bug as a duplicate of 6987812.
27-01-2011

EVALUATION Latest DTFW installs to "C:\Program Files\Debugging Tools for Windows (x86)" while JVM looks for it in "C:\Program Files\Debugging Tools for Windows" (C: is the system drive in my case).
27-03-2009

SUGGESTED FIX Spell out default search paths in the error message to be future-proof?
27-03-2009