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

(process) Use parent, not child, value of PATH to search for Unix programs

XMLWordPrintable

    • b81
    • 6
    • b85
    • x86
    • linux
    • Verified

      In JDK build 81, on linux i586 and linux amd54, when a executable program is put into PATH directory, Runtime.exec cannot use the PATH to find the program. This can be done in build 79 easily. Please look at a small test written to verify this:
      /net/sqe/global/nfs/sec/users/william/runtime_error_test
      To run the test, simply issue command:
      ksh cmd.sh
      Revise cmd.sh to verify if it works on b79.
      This test is only designed for linux-i586. But the bug also happens on linux-amd64. Please revise the JDK_HOME in the cmd.sh to produce bug on linux-amd64 platform.

            martin Martin Buchholz
            wchensunw William Chen (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: