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

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

    XMLWordPrintable

Details

    • Bug
    • Resolution: Future Project
    • P4
    • None
    • 6u18
    • tools
    • x86
    • 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

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

              Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: