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

Java uses German Locale on English Windows-XP installation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: P5
    • Resolution: Duplicate
    • Affects Version/s: 5.0
    • Fix Version/s: None
    • Component/s: core-libs
    • Labels:

      Description

      FULL PRODUCT VERSION :
      java version "1.5.0_06"
      Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_06-b05)
      Java HotSpot(TM) Client VM (build 1.5.0_06-b05, mixed mode)

      ADDITIONAL OS VERSION INFORMATION :
      Microsoft Windows [Version 5.2.3790]

      EXTRA RELEVANT SYSTEM CONFIGURATION :
      English OS with a German keyboard and therefor a German keyboard map

      A DESCRIPTION OF THE PROBLEM :
      I need to use a German keyboard map, as I use a German keyboard layout on this machine, somehow, Java comes up with a German default locale, even if the underlying OS is English.

      Even after changing the system's default input language, Java persists in using German as the default locale, therefor providing for example a German UI for the control panel.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The expected behavior would be for the default locale to match the system's locale.
      ACTUAL -
      Java seems to use the locale it encountered first when being installed on the machine.

      REPRODUCIBILITY :
      This bug can be reproduced always.

      CUSTOMER SUBMITTED WORKAROUND :
      There seems to be no method to enforce any particular locale.

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              naoto Naoto Sato
              Reporter:
              ndcosta Nelson Dcosta (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Imported:
                Indexed: