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

(jli) The "-javaagent" option cannot decode the given path correctly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Future Project
    • Affects Version/s: 6u18
    • Fix Version/s: None
    • Component/s: tools
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_xp

      Description

      OPERATING SYSTEM
      ----------------
      Windows

      FULL JDK VERSION
      ----------------
      java version "1.6.0_18"
      Java(TM) SE Runtime Environment (build 1.6.0_18-b07)
      Java HotSpot(TM) Client VM (build 16.0-b13, mixed mode, sharing)

      DESCRIPTION:
      ------------
      Put an ordinary jar into a folder whose name contains Chinese or Japanese characters, then issue the below command outside of this folder:

          java -javaagent:<folder_name>/xxx.jar

      For example:

          C:\>java -javaagent:D:\??test\tree.jar -version
          Error opening zip file or JAR manifest missing : D:\??test\tree.jar
          Error occurred during initialization of VM
          agent library failed to init: instrument

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                ksrini Kumar Srinivasan
                Reporter:
                dkorbel David Korbel (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: