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

No quotes needed when adding path to PATH environment variable

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Won't Fix
    • Icon: P4 P4
    • tbd
    • 6u10
    • deploy
    • x86
    • windows

      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

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

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: