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

jar application located in two bytes character named folder cannot be run with JRE 7 u1/u2

XMLWordPrintable

    • b38
    • 7
    • b23
    • x86
    • windows_xp, windows_7
    • Verified

        To reproduce:
        ----->
        OS: Windows 7 Professional 64bit Japanese
        JRE: 7u2

        1. Create a folder whose path includes two-byte character
        e.g. C:\¿¿¿>

        2. Put a demo jar file under this folder
        3. Launch demo jar file

        C:\¿¿¿>Java2Demo.jar

        or

        Double click demo jar file directly at Explorer
        <-----

        The jar file never be executed.
        If folder name is changed to english character, the problem will disappear.
        There were several crucial points missing to reproduce the problem:
        1. JA locale needs to be set.
        2. The command must be executed as java -jar c:/XXX/Notepad.jar
           *and* in a cmd.exe, running with shells mks or cygwin will
            always fail.

              ksrini Kumar Srinivasan
              xiaojuzh Xiaojun Zhang (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: