JDK-6715800 : No quotes needed when adding path to PATH environment variable
  • Type: Bug
  • Component: deploy
  • Sub-Component: webstart
  • Affected Version: 6u10
  • Priority: P4
  • Status: Resolved
  • Resolution: Won't Fix
  • OS: windows
  • CPU: x86
  • Submitted: 2008-06-17
  • Updated: 2017-12-22
  • Resolved: 2017-12-22
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

Comments
EVALUATION fix in 6u13 ?
17-06-2008