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

JPDA: jdwp.dll not found if JDK home not on path

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: P3 P3
    • 1.3.0
    • 1.3.0
    • core-svc
    • kestrel
    • generic, x86
    • generic, windows_nt
    • Not verified

      The target VM is unable to start when the SunCommandLineLauncher is used and jdwp.dll cannot be found on the current path. This can be seen when running jdb with an absolute path, for example:

       H:\work>j:\jdk1.3\win32\bin\jdb Hello
      Initializing jdb...
      > run
      run Hello
      VM initialization failed for: j:\jdk1.3\win32\jre\bin\java -Xdebug -Xnoagent -Dj
      ava.compiler=NONE -Xrunjdwp:transport=dt_shmem,address=javadebug,suspend=y Hello


      HotSpot Client VM warning: Setting of property "java.compiler" is ignored
      Error occurred during initialization of VM
      Could not find -Xrun library: jdwp.dll
      Fatal error:

       Target VM failed to initialize.

            ghirschsunw Gordon Hirsch (Inactive)
            ghirschsunw Gordon Hirsch (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: