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

Java fails to start from directory with diacritic characters.

    XMLWordPrintable

    Details

    • CPU:
      x86_64
    • OS:
      windows_10

      Description

      ADDITIONAL SYSTEM INFORMATION :
      Windows 10, x64

      A DESCRIPTION OF THE PROBLEM :
      If JRE is installed to directory with diacritic characters, for example í and ř , every java command fails.

      C:\řízek\bin>java -version
      Error occurred during initialization of VM
      Unable to load native library:


      Problem affects 11.0.6, 11.0.7, 14.0.1.

      Last unaffected versions are 11.0.5, 14

      REGRESSION : Last worked in version 11

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      Extract JDK 11.0.7 to path containing diacritic characters, for example C:\řízek , change directory to bin and run java -version

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      openjdk version "11.0.7" 2020-04-14
      OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.7+10)
      OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.7+10, mixed mode)

      ACTUAL -
      Error occurred during initialization of VM
      Unable to load native library:

      CUSTOMER SUBMITTED WORKAROUND :
      remove diacritic characters from directory names.
      C:\rzek\bin>java -version
      openjdk version "11.0.7" 2020-04-14
      OpenJDK Runtime Environment AdoptOpenJDK (build 11.0.7+10)
      OpenJDK 64-Bit Server VM AdoptOpenJDK (build 11.0.7+10, mixed mode)


      FREQUENCY : always


        Attachments

          Activity

            People

            Assignee:
            pnarayanaswa Praveen Narayanaswamy
            Reporter:
            webbuggrp Webbug Group
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: