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

No quotes needed when adding path to PATH environment variable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: P4
    • Resolution: Won't Fix
    • Affects Version/s: 6u10
    • Fix Version/s: tbd_minor
    • Component/s: deploy
    • Labels:
    • Subcomponent:
    • CPU:
      x86
    • OS:
      windows

      Description

      when investigating bug 6710203: Regression: JavaWS can not launch JDK 142 app from command line, i noticed that function LauncherSetup_md in launcher_md.c for javaws windows platform is trying to add the jre6\bin directory path to the PATH environment variable, using quote to quote the path string that we are trying to add.

      at least on XP, quotes are not needed in the PATH (even if the string contains space), and will actually make the PATH not usable.

      we should check and see if:

      1. do we still really need to add jre\bin directory to the PATH ?
      2. if so, remove the quotes around it, and make sure it works on all windwos platform

        Attachments

          Activity

            People

            • Assignee:
              herrick Andy Herrick
              Reporter:
              ngthomas Thomas Ng (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported:
                Indexed: