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

Specifying a read-only drive for installation gives a confusing error message

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: P4 P4
    • None
    • 1.4.2, 5.0
    • install
    • x86
    • windows_2000, windows_xp



      Name: gm110360 Date: 05/20/2003


      FULL PRODUCT VERSION :


      FULL OS VERSION :
      Microsoft Windows XP [Version 5.1.2600]

      A DESCRIPTION OF THE PROBLEM :
      During installation of the J2SE 1.4.2 Beta SDK, if the user attempts to specify an installation folder on a read-only drive (e.g. a CD-ROM drive), the following error message is displayed:

      "Error 1325.<directory> is not a valid short file name."

      where <directory> is the name of the first directory in the installation path specified. For example, if the installation path was specified as D:\java\j2sdk1.4.2\, <directory> will be "java".

      STEPS TO FOLLOW TO REPRODUCE THE PROBLEM :
      1. Double-click the J2SE 1.4.2 Beta SDK installer.
      2. Accept the license agreement.
      3. On the 'Custom Setup' page, click the 'Change...' button to specify the installation directory.
      4. Type D:\j2sdk1.4.2, where D: is a CD-ROM Drive.
      5. Click OK.
      6. The error message is displayed.

      EXPECTED VERSUS ACTUAL BEHAVIOR :
      EXPECTED -
      The error message should reflect the fact that a read-only or write-protected drive was selected for installation.
      ACTUAL -
      The error message incorrectly identifies the source of the error, indicating that the filename entered by the user was invalid.

      ERROR MESSAGES/STACK TRACES THAT OCCUR :
      Error 1325.j2sdk1.4.2 is not a valid short file name.

      REPRODUCIBILITY :
      This bug can be reproduced always.
      (Review ID: 186217)
      ======================================================================

          [JDK-4867167] Specifying a read-only drive for installation gives a confusing error message

          BT2:EVALUATION

          I ran the sdk installer on win2k sp3 and winxp and the error message is correct:

          "Error 1303. The installer has insufficient privileges to access this directory: D:\java. The installation cannot continue. Log on as an administrator or contact your system administrator."

          The error message is correct, therefore I cannot reproduce. Is this reproducible on more than one machine?
          ###@###.### 2003-05-21

          William Harnois added a comment - BT2:EVALUATION I ran the sdk installer on win2k sp3 and winxp and the error message is correct: "Error 1303. The installer has insufficient privileges to access this directory: D:\java. The installation cannot continue. Log on as an administrator or contact your system administrator." The error message is correct, therefore I cannot reproduce. Is this reproducible on more than one machine? ###@###.### 2003-05-21

            billyh William Harnois
            gmanwanisunw Girish Manwani (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: