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

java launcher on Windows fails if the pathname contains Japanese characters

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P4
    • Resolution: Cannot Reproduce
    • Affects Version/s: 1.4.2
    • Fix Version/s: None
    • Component/s: tools
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows_nt

      Description

      On Win NT, I created a directory with Japanese characters in its name.
      I then copied a JDK installation (1.4.2-b19) to this directory.

      When I navigate in Explorer to the <install>/bin/ dir and dbl click javaw.exe, I get an error box saying
           Error: Could not open ..../jvm.cfg
      where .... is a pathname that has nothing to do with the pathname
      of thd JDK installation.

      A brief look at java_md.c indicates that
      - it could not find the jvm.cfg in the installation I was running,
        I presume because of a bug in the handling of the JA chars.

      - it then looked for a pathname to jvm.cfg in the windows registry
        and found one that was no longer valid because I had deleted the
        installation.

      Are there user errors here, such as
      - rm -rf'ing a jdk installation but not cleaning out the registry?
      - 'installing' a jdk by doing a cp -r and not creating any
         registry entries for it?

      Are the above rm and cp valid ways of dealing with JDKs on windows?

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                darcy Joe Darcy
                Reporter:
                jjh James Holmlund (Inactive)
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:
                  Imported:
                  Indexed: